Class InsightName (2.54.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
Name Description
project String
location String
insightType String
insight String
Returns
Type Description
String

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

public static String formatBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)
Parameters
Name Description
billingAccount String
location String
insightType String
insight String
Returns
Type Description
String

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

public static String formatFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)
Parameters
Name Description
folder String
location String
insightType String
insight String
Returns
Type Description
String

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

public static String formatOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)
Parameters
Name Description
organization String
location String
insightType String
insight String
Returns
Type Description
String

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

public static String formatProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)
Parameters
Name Description
project String
location String
insightType String
insight String
Returns
Type Description
String

isParsableFrom(String formattedString)

public static boolean isParsableFrom(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
boolean

newBillingAccountLocationInsightTypeInsightBuilder()

public static InsightName.BillingAccountLocationInsightTypeInsightBuilder newBillingAccountLocationInsightTypeInsightBuilder()
Returns
Type Description
InsightName.BillingAccountLocationInsightTypeInsightBuilder

newBuilder()

public static InsightName.Builder newBuilder()
Returns
Type Description
InsightName.Builder

newFolderLocationInsightTypeInsightBuilder()

public static InsightName.FolderLocationInsightTypeInsightBuilder newFolderLocationInsightTypeInsightBuilder()
Returns
Type Description
InsightName.FolderLocationInsightTypeInsightBuilder

newOrganizationLocationInsightTypeInsightBuilder()

public static InsightName.OrganizationLocationInsightTypeInsightBuilder newOrganizationLocationInsightTypeInsightBuilder()
Returns
Type Description
InsightName.OrganizationLocationInsightTypeInsightBuilder

newProjectLocationInsightTypeInsightBuilder()

public static InsightName.Builder newProjectLocationInsightTypeInsightBuilder()
Returns
Type Description
InsightName.Builder

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

public static InsightName of(String project, String location, String insightType, String insight)
Parameters
Name Description
project String
location String
insightType String
insight String
Returns
Type Description
InsightName

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

public static InsightName ofBillingAccountLocationInsightTypeInsightName(String billingAccount, String location, String insightType, String insight)
Parameters
Name Description
billingAccount String
location String
insightType String
insight String
Returns
Type Description
InsightName

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

public static InsightName ofFolderLocationInsightTypeInsightName(String folder, String location, String insightType, String insight)
Parameters
Name Description
folder String
location String
insightType String
insight String
Returns
Type Description
InsightName

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

public static InsightName ofOrganizationLocationInsightTypeInsightName(String organization, String location, String insightType, String insight)
Parameters
Name Description
organization String
location String
insightType String
insight String
Returns
Type Description
InsightName

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

public static InsightName ofProjectLocationInsightTypeInsightName(String project, String location, String insightType, String insight)
Parameters
Name Description
project String
location String
insightType String
insight String
Returns
Type Description
InsightName

parse(String formattedString)

public static InsightName parse(String formattedString)
Parameter
Name Description
formattedString String
Returns
Type Description
InsightName

parseList(List<String> formattedStrings)

public static List<InsightName> parseList(List<String> formattedStrings)
Parameter
Name Description
formattedStrings List<String>
Returns
Type Description
List<InsightName>

toStringList(List<InsightName> values)

public static List<String> toStringList(List<InsightName> values)
Parameter
Name Description
values List<InsightName>
Returns
Type Description
List<String>

Constructors

InsightName() (deprecated)

protected InsightName()

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getBillingAccount()

public String getBillingAccount()
Returns
Type Description
String

getFieldValue(String fieldName)

public String getFieldValue(String fieldName)
Parameter
Name Description
fieldName String
Returns
Type Description
String

getFieldValuesMap()

public Map<String,String> getFieldValuesMap()
Returns
Type Description
Map<String,String>

getFolder()

public String getFolder()
Returns
Type Description
String

getInsight()

public String getInsight()
Returns
Type Description
String

getInsightType()

public String getInsightType()
Returns
Type Description
String

getLocation()

public String getLocation()
Returns
Type Description
String

getOrganization()

public String getOrganization()
Returns
Type Description
String

getProject()

public String getProject()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public InsightName.Builder toBuilder()
Returns
Type Description
InsightName.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides