public sealed class UserWorkloadsConfigMapName : IResourceName, IEquatable<UserWorkloadsConfigMapName>Reference documentation and code samples for the Cloud Composer v1 API class UserWorkloadsConfigMapName.
Resource name for the UserWorkloadsConfigMap resource.
Namespace
Google.Cloud.Orchestration.Airflow.Service.V1Assembly
Google.Cloud.Orchestration.Airflow.Service.V1.dll
Constructors
UserWorkloadsConfigMapName(string, string, string, string)
public UserWorkloadsConfigMapName(string projectId, string locationId, string environmentId, string userWorkloadsConfigMapId)Constructs a new instance of a UserWorkloadsConfigMapName class from the component parts of
pattern
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}
| Parameters | |
|---|---|
| Name | Description | 
projectId | 
        stringThe   | 
      
locationId | 
        stringThe   | 
      
environmentId | 
        stringThe   | 
      
userWorkloadsConfigMapId | 
        stringThe   | 
      
Properties
EnvironmentId
public string EnvironmentId { get; }The Environment ID. Will not be null, unless this instance contains an unparsed resource name.
| Property Value | |
|---|---|
| Type | Description | 
string | 
        |
IsKnownPattern
public bool IsKnownPattern { get; }Whether this instance contains a resource name with a known pattern.
| Property Value | |
|---|---|
| Type | Description | 
bool | 
        |
LocationId
public string LocationId { get; }The Location ID. Will not be null, unless this instance contains an unparsed resource name.
| Property Value | |
|---|---|
| Type | Description | 
string | 
        |
ProjectId
public string ProjectId { get; }The Project ID. Will not be null, unless this instance contains an unparsed resource name.
| Property Value | |
|---|---|
| Type | Description | 
string | 
        |
Type
public UserWorkloadsConfigMapName.ResourceNameType Type { get; }The UserWorkloadsConfigMapName.ResourceNameType of the contained resource name.
| Property Value | |
|---|---|
| Type | Description | 
UserWorkloadsConfigMapNameResourceNameType | 
        |
UnparsedResource
public UnparsedResourceName UnparsedResource { get; }The contained UnparsedResourceName. Only non-null if this instance contains an
unparsed resource name.
| Property Value | |
|---|---|
| Type | Description | 
UnparsedResourceName | 
        |
UserWorkloadsConfigMapId
public string UserWorkloadsConfigMapId { get; }The UserWorkloadsConfigMap ID. Will not be null, unless this instance contains an unparsed
resource name.
| Property Value | |
|---|---|
| Type | Description | 
string | 
        |
Methods
Format(string, string, string, string)
public static string Format(string projectId, string locationId, string environmentId, string userWorkloadsConfigMapId)Formats the IDs into the string representation of this UserWorkloadsConfigMapName with pattern
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}
.
| Parameters | |
|---|---|
| Name | Description | 
projectId | 
        stringThe   | 
      
locationId | 
        stringThe   | 
      
environmentId | 
        stringThe   | 
      
userWorkloadsConfigMapId | 
        stringThe   | 
      
| Returns | |
|---|---|
| Type | Description | 
string | 
        The string representation of this UserWorkloadsConfigMapName with pattern
  | 
      
FormatProjectLocationEnvironmentUserWorkloadsConfigMap(string, string, string, string)
public static string FormatProjectLocationEnvironmentUserWorkloadsConfigMap(string projectId, string locationId, string environmentId, string userWorkloadsConfigMapId)Formats the IDs into the string representation of this UserWorkloadsConfigMapName with pattern
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}
.
| Parameters | |
|---|---|
| Name | Description | 
projectId | 
        stringThe   | 
      
locationId | 
        stringThe   | 
      
environmentId | 
        stringThe   | 
      
userWorkloadsConfigMapId | 
        stringThe   | 
      
| Returns | |
|---|---|
| Type | Description | 
string | 
        The string representation of this UserWorkloadsConfigMapName with pattern
  | 
      
FromProjectLocationEnvironmentUserWorkloadsConfigMap(string, string, string, string)
public static UserWorkloadsConfigMapName FromProjectLocationEnvironmentUserWorkloadsConfigMap(string projectId, string locationId, string environmentId, string userWorkloadsConfigMapId)Creates a UserWorkloadsConfigMapName with the pattern
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}
.
| Parameters | |
|---|---|
| Name | Description | 
projectId | 
        stringThe   | 
      
locationId | 
        stringThe   | 
      
environmentId | 
        stringThe   | 
      
userWorkloadsConfigMapId | 
        stringThe   | 
      
| Returns | |
|---|---|
| Type | Description | 
UserWorkloadsConfigMapName | 
        A new instance of UserWorkloadsConfigMapName constructed from the provided ids.  | 
      
FromUnparsed(UnparsedResourceName)
public static UserWorkloadsConfigMapName FromUnparsed(UnparsedResourceName unparsedResourceName)Creates a UserWorkloadsConfigMapName containing an unparsed resource name.
| Parameter | |
|---|---|
| Name | Description | 
unparsedResourceName | 
        UnparsedResourceNameThe unparsed resource name. Must not be   | 
      
| Returns | |
|---|---|
| Type | Description | 
UserWorkloadsConfigMapName | 
        A new instance of UserWorkloadsConfigMapName containing the provided
  | 
      
GetHashCode()
public override int GetHashCode()Returns a hash code for this resource name.
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
Parse(string)
public static UserWorkloadsConfigMapName Parse(string userWorkloadsConfigMapName)Parses the given resource name string into a new UserWorkloadsConfigMapName instance.
| Parameter | |
|---|---|
| Name | Description | 
userWorkloadsConfigMapName | 
        stringThe resource name in string form. Must not be   | 
      
| Returns | |
|---|---|
| Type | Description | 
UserWorkloadsConfigMapName | 
        The parsed UserWorkloadsConfigMapName if successful.  | 
      
To parse successfully, the resource name must be formatted as one of the following:
- 
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map} 
Parse(string, bool)
public static UserWorkloadsConfigMapName Parse(string userWorkloadsConfigMapName, bool allowUnparsed)Parses the given resource name string into a new UserWorkloadsConfigMapName instance; optionally allowing an unparseable resource name.
| Parameters | |
|---|---|
| Name | Description | 
userWorkloadsConfigMapName | 
        stringThe resource name in string form. Must not be   | 
      
allowUnparsed | 
        boolIf   | 
      
| Returns | |
|---|---|
| Type | Description | 
UserWorkloadsConfigMapName | 
        The parsed UserWorkloadsConfigMapName if successful.  | 
      
To parse successfully, the resource name must be formatted as one of the following:
- 
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map} 
allowUnparsed is true.
ToString()
public override string ToString()The string representation of the resource name.
| Returns | |
|---|---|
| Type | Description | 
string | 
        The string representation of the resource name.  | 
      
TryParse(string, out UserWorkloadsConfigMapName)
public static bool TryParse(string userWorkloadsConfigMapName, out UserWorkloadsConfigMapName result)Tries to parse the given resource name string into a new UserWorkloadsConfigMapName instance.
| Parameters | |
|---|---|
| Name | Description | 
userWorkloadsConfigMapName | 
        stringThe resource name in string form. Must not be   | 
      
result | 
        UserWorkloadsConfigMapNameWhen this method returns, the parsed UserWorkloadsConfigMapName, or   | 
      
| Returns | |
|---|---|
| Type | Description | 
bool | 
        
  | 
      
To parse successfully, the resource name must be formatted as one of the following:
- 
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map} 
TryParse(string, bool, out UserWorkloadsConfigMapName)
public static bool TryParse(string userWorkloadsConfigMapName, bool allowUnparsed, out UserWorkloadsConfigMapName result)Tries to parse the given resource name string into a new UserWorkloadsConfigMapName instance; optionally allowing an unparseable resource name.
| Parameters | |
|---|---|
| Name | Description | 
userWorkloadsConfigMapName | 
        stringThe resource name in string form. Must not be   | 
      
allowUnparsed | 
        boolIf   | 
      
result | 
        UserWorkloadsConfigMapNameWhen this method returns, the parsed UserWorkloadsConfigMapName, or   | 
      
| Returns | |
|---|---|
| Type | Description | 
bool | 
        
  | 
      
To parse successfully, the resource name must be formatted as one of the following:
- 
projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map} 
allowUnparsed is true.
Operators
operator ==(UserWorkloadsConfigMapName, UserWorkloadsConfigMapName)
public static bool operator ==(UserWorkloadsConfigMapName a, UserWorkloadsConfigMapName b)Determines whether two specified resource names have the same value.
| Parameters | |
|---|---|
| Name | Description | 
a | 
        UserWorkloadsConfigMapNameThe first resource name to compare, or null.  | 
      
b | 
        UserWorkloadsConfigMapNameThe second resource name to compare, or null.  | 
      
| Returns | |
|---|---|
| Type | Description | 
bool | 
        true if the value of   | 
      
operator !=(UserWorkloadsConfigMapName, UserWorkloadsConfigMapName)
public static bool operator !=(UserWorkloadsConfigMapName a, UserWorkloadsConfigMapName b)Determines whether two specified resource names have different values.
| Parameters | |
|---|---|
| Name | Description | 
a | 
        UserWorkloadsConfigMapNameThe first resource name to compare, or null.  | 
      
b | 
        UserWorkloadsConfigMapNameThe second resource name to compare, or null.  | 
      
| Returns | |
|---|---|
| Type | Description | 
bool | 
        true if the value of   |