Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dataform/metadata/V1/Dataform.php

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions Dataform/samples/V1/DataformClient/list_locations.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
* Lists information about the supported locations for this service.
*
* This method lists locations based on the resource scope provided in
* the [ListLocationsRequest.name] field:
*
* * **Global locations**: If `name` is empty, the method lists the
* the [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: *
* **Global locations**: If `name` is empty, the method lists the
* public locations available to all projects. * **Project-specific
* locations**: If `name` follows the format
* `projects/{project}`, the method lists locations visible to that
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* Returns the contents of a given Folder.
*
* @param string $formattedFolder Name of the folder whose contents to list.
* @param string $formattedFolder Resource name of the Folder to list contents for.
* Format: projects/*/locations/*/folders/*
* Please see {@see DataformClient::folderName()} for help formatting this field.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* Returns the contents of a given TeamFolder.
*
* @param string $formattedTeamFolder Name of the team_folder whose contents to list.
* @param string $formattedTeamFolder Resource name of the TeamFolder to list contents for.
* Format: `projects/*/locations/*/teamFolders/*`. Please see
* {@see DataformClient::teamFolderName()} for help formatting this field.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* The root folder contains all resources that are created by the user and not
* contained in any other folder.
*
* @param string $formattedLocation Location of the user root folder whose contents to list.
* @param string $formattedLocation Location of the user root folder to list contents for.
* Format: projects/*/locations/*
* Please see {@see DataformClient::locationName()} for help formatting this field.
*/
Expand Down
31 changes: 28 additions & 3 deletions Dataform/src/V1/Client/DataformClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,31 @@ public static function folderName(string $project, string $location, string $fol
]);
}

/**
* Formats a string containing the fully-qualified path to represent a
* git_repository_link resource.
*
* @param string $project
* @param string $location
* @param string $connection
* @param string $gitRepositoryLink
*
* @return string The formatted git_repository_link resource.
*/
public static function gitRepositoryLinkName(
string $project,
string $location,
string $connection,
string $gitRepositoryLink
): string {
return self::getPathTemplate('gitRepositoryLink')->render([
'project' => $project,
'location' => $location,
'connection' => $connection,
'git_repository_link' => $gitRepositoryLink,
]);
}

/**
* Formats a string containing the fully-qualified path to represent a location
* resource.
Expand Down Expand Up @@ -657,6 +682,7 @@ public static function workspaceName(
* - cryptoKey: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
* - cryptoKeyVersion: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
* - folder: projects/{project}/locations/{location}/folders/{folder}
* - gitRepositoryLink: projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}
* - location: projects/{project}/locations/{location}
* - notebookRuntimeTemplate: projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}
* - releaseConfig: projects/{project}/locations/{location}/repositories/{repository}/releaseConfigs/{release_config}
Expand Down Expand Up @@ -2899,9 +2925,8 @@ public function getLocation(GetLocationRequest $request, array $callOptions = []
* Lists information about the supported locations for this service.
*
* This method lists locations based on the resource scope provided in
* the [ListLocationsRequest.name] field:
*
* * **Global locations**: If `name` is empty, the method lists the
* the [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: *
* **Global locations**: If `name` is empty, the method lists the
* public locations available to all projects. * **Project-specific
* locations**: If `name` follows the format
* `projects/{project}`, the method lists locations visible to that
Expand Down
2 changes: 1 addition & 1 deletion Dataform/src/V1/DirectoryContentsView.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions Dataform/src/V1/DirectoryEntry.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Dataform/src/V1/Folder.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions Dataform/src/V1/QueryFolderContentsRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading