Skip to content

Commit

Permalink
docs: display resource name patterns in code font.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 305751417
  • Loading branch information
Google APIs authored and Copybara-Service committed Apr 9, 2020
1 parent c451a44 commit 9af7212
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
62 changes: 31 additions & 31 deletions google/container/v1/cluster_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ message CreateClusterRequest {
Cluster cluster = 3 [(google.api.field_behavior) = REQUIRED];

// The parent (project and location) where the cluster will be created.
// Specified in the format 'projects/*/locations/*'.
// Specified in the format `projects/*/locations/*`.
string parent = 5;
}

Expand All @@ -1483,7 +1483,7 @@ message GetClusterRequest {
string cluster_id = 3 [deprecated = true];

// The name (project, location, cluster) of the cluster to retrieve.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 5;
}

Expand All @@ -1508,7 +1508,7 @@ message UpdateClusterRequest {
ClusterUpdate update = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster) of the cluster to update.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 5;
}

Expand Down Expand Up @@ -1551,7 +1551,7 @@ message UpdateNodePoolRequest {

// The name (project, location, cluster, node pool) of the node pool to
// update. Specified in the format
// 'projects/*/locations/*/clusters/*/nodePools/*'.
// `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 8;
}

Expand Down Expand Up @@ -1581,7 +1581,7 @@ message SetNodePoolAutoscalingRequest {

// The name (project, location, cluster, node pool) of the node pool to set
// autoscaler settings. Specified in the format
// 'projects/*/locations/*/clusters/*/nodePools/*'.
// `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 6;
}

Expand Down Expand Up @@ -1610,7 +1610,7 @@ message SetLoggingServiceRequest {
string logging_service = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster) of the cluster to set logging.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 5;
}

Expand Down Expand Up @@ -1641,7 +1641,7 @@ message SetMonitoringServiceRequest {
string monitoring_service = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster) of the cluster to set monitoring.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;
}

Expand All @@ -1667,7 +1667,7 @@ message SetAddonsConfigRequest {
AddonsConfig addons_config = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster) of the cluster to set addons.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;
}

Expand Down Expand Up @@ -1698,7 +1698,7 @@ message SetLocationsRequest {
repeated string locations = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster) of the cluster to set locations.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;
}

Expand Down Expand Up @@ -1732,7 +1732,7 @@ message UpdateMasterRequest {
string master_version = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster) of the cluster to update.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;
}

Expand Down Expand Up @@ -1778,7 +1778,7 @@ message SetMasterAuthRequest {
MasterAuth update = 5 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster) of the cluster to set auth.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;
}

Expand All @@ -1800,7 +1800,7 @@ message DeleteClusterRequest {
string cluster_id = 3 [deprecated = true];

// The name (project, location, cluster) of the cluster to delete.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 4;
}

Expand All @@ -1818,7 +1818,7 @@ message ListClustersRequest {
string zone = 2 [deprecated = true];

// The parent (project and location) where the clusters will be listed.
// Specified in the format 'projects/*/locations/*'.
// Specified in the format `projects/*/locations/*`.
// Location "-" matches all zones and all regions.
string parent = 4;
}
Expand Down Expand Up @@ -1852,7 +1852,7 @@ message GetOperationRequest {
string operation_id = 3 [deprecated = true];

// The name (project, location, operation id) of the operation to get.
// Specified in the format 'projects/*/locations/*/operations/*'.
// Specified in the format `projects/*/locations/*/operations/*`.
string name = 5;
}

Expand All @@ -1869,7 +1869,7 @@ message ListOperationsRequest {
string zone = 2 [deprecated = true];

// The parent (project and location) where the operations will be listed.
// Specified in the format 'projects/*/locations/*'.
// Specified in the format `projects/*/locations/*`.
// Location "-" matches all zones and all regions.
string parent = 4;
}
Expand All @@ -1891,7 +1891,7 @@ message CancelOperationRequest {
string operation_id = 3 [deprecated = true];

// The name (project, location, operation id) of the operation to cancel.
// Specified in the format 'projects/*/locations/*/operations/*'.
// Specified in the format `projects/*/locations/*/operations/*`.
string name = 4;
}

Expand All @@ -1918,7 +1918,7 @@ message GetServerConfigRequest {
string zone = 2 [deprecated = true];

// The name (project and location) of the server config to get,
// specified in the format 'projects/*/locations/*'.
// specified in the format `projects/*/locations/*`.
string name = 4;
}

Expand Down Expand Up @@ -1962,7 +1962,7 @@ message CreateNodePoolRequest {

// The parent (project, location, cluster id) where the node pool will be
// created. Specified in the format
// 'projects/*/locations/*/clusters/*'.
// `projects/*/locations/*/clusters/*`.
string parent = 6;
}

Expand All @@ -1989,7 +1989,7 @@ message DeleteNodePoolRequest {

// The name (project, location, cluster, node pool id) of the node pool to
// delete. Specified in the format
// 'projects/*/locations/*/clusters/*/nodePools/*'.
// `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 6;
}

Expand All @@ -2011,7 +2011,7 @@ message ListNodePoolsRequest {
string cluster_id = 3 [deprecated = true];

// The parent (project, location, cluster id) where the node pools will be
// listed. Specified in the format 'projects/*/locations/*/clusters/*'.
// listed. Specified in the format `projects/*/locations/*/clusters/*`.
string parent = 5;
}

Expand All @@ -2038,7 +2038,7 @@ message GetNodePoolRequest {

// The name (project, location, cluster, node pool id) of the node pool to
// get. Specified in the format
// 'projects/*/locations/*/clusters/*/nodePools/*'.
// `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 6;
}

Expand Down Expand Up @@ -2275,7 +2275,7 @@ message SetNodePoolManagementRequest {

// The name (project, location, cluster, node pool id) of the node pool to set
// management properties. Specified in the format
// 'projects/*/locations/*/clusters/*/nodePools/*'.
// `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 7;
}

Expand Down Expand Up @@ -2306,7 +2306,7 @@ message SetNodePoolSizeRequest {

// The name (project, location, cluster, node pool id) of the node pool to set
// size.
// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 7;
}

Expand Down Expand Up @@ -2335,7 +2335,7 @@ message RollbackNodePoolUpgradeRequest {

// The name (project, location, cluster, node pool id) of the node poll to
// rollback upgrade.
// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
string name = 6;
}

Expand Down Expand Up @@ -2440,7 +2440,7 @@ message SetLabelsRequest {
string label_fingerprint = 5 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster id) of the cluster to set labels.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;
}

Expand All @@ -2466,7 +2466,7 @@ message SetLegacyAbacRequest {
bool enabled = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster id) of the cluster to set legacy abac.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;
}

Expand All @@ -2489,7 +2489,7 @@ message StartIPRotationRequest {
string cluster_id = 3 [deprecated = true];

// The name (project, location, cluster id) of the cluster to start IP
// rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
// rotation. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;

// Whether to rotate credentials during IP rotation.
Expand All @@ -2514,7 +2514,7 @@ message CompleteIPRotationRequest {
string cluster_id = 3 [deprecated = true];

// The name (project, location, cluster id) of the cluster to complete IP
// rotation. Specified in the format 'projects/*/locations/*/clusters/*'.
// rotation. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 7;
}

Expand Down Expand Up @@ -2549,7 +2549,7 @@ message SetNetworkPolicyRequest {
NetworkPolicy network_policy = 4 [(google.api.field_behavior) = REQUIRED];

// The name (project, location, cluster id) of the cluster to set networking
// policy. Specified in the format 'projects/*/locations/*/clusters/*'.
// policy. Specified in the format `projects/*/locations/*/clusters/*`.
string name = 6;
}

Expand All @@ -2573,7 +2573,7 @@ message SetMaintenancePolicyRequest {

// The name (project, location, cluster id) of the cluster to set maintenance
// policy.
// Specified in the format 'projects/*/locations/*/clusters/*'.
// Specified in the format `projects/*/locations/*/clusters/*`.
string name = 5;
}

Expand Down Expand Up @@ -2669,7 +2669,7 @@ message DatabaseEncryption {
// available to a user for creating clusters.
message ListUsableSubnetworksRequest {
// The parent project where subnetworks are usable.
// Specified in the format 'projects/*'.
// Specified in the format `projects/*`.
string parent = 1;

// Filtering currently only supports equality on the networkProjectId and must
Expand Down
Loading

0 comments on commit 9af7212

Please sign in to comment.