lib/google/iam/v1beta/workload_identity_pools/paths.rb in google-iam-v1beta-0.3.1 vs lib/google/iam/v1beta/workload_identity_pools/paths.rb in google-iam-v1beta-0.3.2
- old
+ new
@@ -22,9 +22,23 @@
module V1beta
module WorkloadIdentityPools
# Path helper methods for the WorkloadIdentityPools API.
module Paths
##
+ # Create a fully-qualified Project resource string.
+ #
+ # The resource will be in the following format:
+ #
+ # `projects/{project}`
+ #
+ # @param project [String]
+ #
+ # @return [::String]
+ def project_path project:
+ "projects/#{project}"
+ end
+
+ ##
# Create a fully-qualified WorkloadIdentityPool resource string.
#
# The resource will be in the following format:
#
# `projects/{project}/locations/{location}/workloadIdentityPools/{workload_identity_pool}`