Skip to content

Commit 64db789

Browse files
docs: Mark the accessApprovalRequests.list method as deprecated (#7459)
PiperOrigin-RevId: 645007312 Source-Link: googleapis/googleapis@ed2491e Source-Link: googleapis/googleapis-gen@086dd13 Copy-Tag: eyJwIjoiQ29udHJvbHNQYXJ0bmVyLy5Pd2xCb3QueWFtbCIsImgiOiIwODZkZDEzZDBlMzE4MzM1ZWRlMTE3ZTAxMDgyOTZlZDlhZWNmMWUwIn0=
1 parent a203ee0 commit 64db789

29 files changed

Lines changed: 116 additions & 106 deletions

ControlsPartner/metadata/V1Beta/Core.php

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/get_customer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Gets details of a single customer
3333
*
3434
* @param string $formattedName Format:
35-
* organizations/{organization}/locations/{location}/customers/{customer}
35+
* `organizations/{organization}/locations/{location}/customers/{customer}`
3636
* Please see {@see CloudControlsPartnerCoreClient::customerName()} for help formatting this field.
3737
*/
3838
function get_customer_sample(string $formattedName): void

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/get_ekm_connections.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Gets the EKM connections associated with a workload
3333
*
3434
* @param string $formattedName Format:
35-
* organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections
35+
* `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
3636
* Please see {@see CloudControlsPartnerCoreClient::ekmConnectionsName()} for help formatting this field.
3737
*/
3838
function get_ekm_connections_sample(string $formattedName): void

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/get_partner.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
/**
3232
* Get details of a Partner.
3333
*
34-
* @param string $formattedName Format: organizations/{organization}/locations/{location}/partner
34+
* @param string $formattedName Format:
35+
* `organizations/{organization}/locations/{location}/partner`
3536
* Please see {@see CloudControlsPartnerCoreClient::partnerName()} for help formatting this field.
3637
*/
3738
function get_partner_sample(string $formattedName): void

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/get_partner_permissions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Gets the partner permissions granted for a workload
3333
*
3434
* @param string $formattedName Name of the resource to get in the format:
35-
* organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions
35+
* `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions`
3636
* Please see {@see CloudControlsPartnerCoreClient::partnerPermissionsName()} for help formatting this field.
3737
*/
3838
function get_partner_permissions_sample(string $formattedName): void

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/get_workload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Gets details of a single workload
3333
*
3434
* @param string $formattedName Format:
35-
* organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
35+
* `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
3636
* Please see {@see CloudControlsPartnerCoreClient::workloadName()} for help formatting this field.
3737
*/
3838
function get_workload_sample(string $formattedName): void

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/list_access_approval_requests.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
use Google\Cloud\CloudControlsPartner\V1beta\ListAccessApprovalRequestsRequest;
3131

3232
/**
33-
* Lists access requests associated with a workload
33+
* Deprecated: Only returns access approval requests directly associated with
34+
* an assured workload folder.
3435
*
3536
* @param string $formattedParent Parent resource
3637
* Format:
37-
* organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
38+
* `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}`
3839
* Please see {@see CloudControlsPartnerCoreClient::workloadName()} for help formatting this field.
3940
*/
4041
function list_access_approval_requests_sample(string $formattedParent): void

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/list_customers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* Lists customers of a partner identified by its Google Cloud organization ID
3434
*
3535
* @param string $formattedParent Parent resource
36-
* Format: organizations/{organization}/locations/{location}
36+
* Format: `organizations/{organization}/locations/{location}`
3737
* Please see {@see CloudControlsPartnerCoreClient::organizationLocationName()} for help formatting this field.
3838
*/
3939
function list_customers_sample(string $formattedParent): void

ControlsPartner/samples/V1beta/CloudControlsPartnerCoreClient/list_workloads.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* @param string $formattedParent Parent resource
3636
* Format:
37-
* organizations/{organization}/locations/{location}/customers/{customer}
37+
* `organizations/{organization}/locations/{location}/customers/{customer}`
3838
* Please see {@see CloudControlsPartnerCoreClient::customerName()} for help formatting this field.
3939
*/
4040
function list_workloads_sample(string $formattedParent): void

ControlsPartner/samples/V1beta/CloudControlsPartnerMonitoringClient/get_violation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Gets details of a single Violation.
3333
*
3434
* @param string $formattedName Format:
35-
* organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}
35+
* `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/violations/{violation}`
3636
* Please see {@see CloudControlsPartnerMonitoringClient::violationName()} for help formatting this field.
3737
*/
3838
function get_violation_sample(string $formattedName): void

0 commit comments

Comments
 (0)