2024-06-13
▼ ▲ cloudcommerceprocurement.providers.accounts.get
Description: Gets a requested Account resource.
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
name
Description: Required. The name of the account to retrieve.
Location: path
Type: string
Required: Yes
Pattern: ^providers/[^/]+/accounts/[^/]+$
Flat Path: v1/providers/{providersId}/accounts/{accountsId}
HTTP Method: GET
Path: v1/{+name}
Parameter Order: name
▼ ▲ cloudcommerceprocurement.providers.accounts.list
Parameter Order: parent
Flat Path: v1/providers/{providersId}/accounts
Parameters:
pageSize
Format: int32
Location: query
Description: The maximum number of entries that are requested. The default page size is 25 and the maximum page size is 200.
Type: integer
parent
Type: string
Description: Required. The parent resource name.
Location: path
Required: Yes
Pattern: ^providers/[^/]+$
pageToken
Location: query
Type: string
Description: The token for fetching the next page.
Description: Lists Accounts that the provider has access to.
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1/{+parent}/accounts
HTTP Method: GET
▼ ▲ cloudcommerceprocurement.providers.accounts.reject
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
name
Description: Required. The resource name of the account.
Pattern: ^providers/[^/]+/accounts/[^/]+$
Type: string
Required: Yes
Location: path
HTTP Method: POST
Description: Rejects an approval on an Account.
Path: v1/{+name}:reject
Parameter Order: name
Flat Path: v1/providers/{providersId}/accounts/{accountsId}:reject
▼ ▲ cloudcommerceprocurement.providers.accounts.approve
Path: v1/{+name}:approve
Scopes: https://www.googleapis.com/auth/cloud-platform
HTTP Method: POST
Parameters:
name
Location: path
Pattern: ^providers/[^/]+/accounts/[^/]+$
Required: Yes
Description: Required. The resource name of the account, with the format `providers/{providerId}/accounts/{accountId}`.
Type: string
Description: Grants an approval on an Account.
Parameter Order: name
Flat Path: v1/providers/{providersId}/accounts/{accountsId}:approve
▼ ▲ cloudcommerceprocurement.providers.accounts.reset
Scopes: https://www.googleapis.com/auth/cloud-platform
Description: Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts.
Parameter Order: name
Path: v1/{+name}:reset
HTTP Method: POST
Flat Path: v1/providers/{providersId}/accounts/{accountsId}:reset
Parameters:
name
Required: Yes
Location: path
Description: Required. The resource name of the account.
Pattern: ^providers/[^/]+/accounts/[^/]+$
Type: string
▼ ▲ cloudcommerceprocurement.providers.entitlements.approvePlanChange
Parameters:
name
Description: Required. The resource name of the entitlement.
Type: string
Location: path
Pattern: ^providers/[^/]+/entitlements/[^/]+$
Required: Yes
Description: Approves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to approve the plan change on the entitlement resource.
Path: v1/{+name}:approvePlanChange
HTTP Method: POST
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: name
Flat Path: v1/providers/{providersId}/entitlements/{entitlementsId}:approvePlanChange
▼ ▲ cloudcommerceprocurement.providers.entitlements.reject
Flat Path: v1/providers/{providersId}/entitlements/{entitlementsId}:reject
Description: Rejects an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to reject the creation of the entitlement resource.
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: name
Parameters:
name
Location: path
Type: string
Description: Required. The resource name of the entitlement.
Required: Yes
Pattern: ^providers/[^/]+/entitlements/[^/]+$
Path: v1/{+name}:reject
HTTP Method: POST
▼ ▲ cloudcommerceprocurement.providers.entitlements.get
Scopes: https://www.googleapis.com/auth/cloud-platform
Path: v1/{+name}
Flat Path: v1/providers/{providersId}/entitlements/{entitlementsId}
Parameter Order: name
Parameters:
name
Description: Required. The name of the entitlement to retrieve.
Required: Yes
Location: path
Pattern: ^providers/[^/]+/entitlements/[^/]+$
Type: string
Description: Gets a requested Entitlement resource.
HTTP Method: GET
▼ ▲ cloudcommerceprocurement.providers.entitlements.approve
Path: v1/{+name}:approve
Description: Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to approve the creation of the entitlement resource.
Flat Path: v1/providers/{providersId}/entitlements/{entitlementsId}:approve
Parameters:
name
Required: Yes
Pattern: ^providers/[^/]+/entitlements/[^/]+$
Description: Required. The resource name of the entitlement, with the format `providers/{providerId}/entitlements/{entitlementId}`.
Type: string
Location: path
HTTP Method: POST
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: name
▼ ▲ cloudcommerceprocurement.providers.entitlements.suspend
Parameter Order: name
HTTP Method: POST
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
name
Required: Yes
Pattern: ^providers/[^/]+/entitlements/[^/]+$
Description: Required. The name of the entitlement to suspend.
Location: path
Type: string
Flat Path: v1/providers/{providersId}/entitlements/{entitlementsId}:suspend
Path: v1/{+name}:suspend
Description: Requests suspension of an active Entitlement. This is not yet supported.
▼ ▲ cloudcommerceprocurement.providers.entitlements.list
Flat Path: v1/providers/{providersId}/entitlements
Description: Lists Entitlements for which the provider has read access.
Path: v1/{+parent}/entitlements
HTTP Method: GET
Parameter Order: parent
Parameters:
pageSize
Type: integer
Description: The maximum number of entries that are requested. The default page size is 200.
Location: query
Format: int32
pageToken
Description: The token for fetching the next page.
Location: query
Type: string
filter
Location: query
Description: The filter that can be used to limit the list request. The filter is a query string that can match a selected set of attributes with string values. For example `account=E-1234-5678-ABCD-EFGH`, `state=pending_cancellation`, and `plan!=foo-plan`. Supported query attributes are * `account` * `customer_billing_account` with value in the format of: `billingAccounts/{id}` * `product_external_name` * `quote_external_name` * `offer` * `new_pending_offer` * `plan` * `newPendingPlan` or `new_pending_plan` * `state` * `consumers.project` * `change_history.new_offer` Note that the consumers and change_history.new_offer match works on repeated structures, so equality (`consumers.project=projects/123456789`) is not supported. Set membership can be expressed with the `:` operator. For example, `consumers.project:projects/123456789` finds entitlements with at least one consumer with project field equal to `projects/123456789`. `change_history.new_offer` retrieves all entitlements that were once associated or are currently active with the offer. Also note that the state name match is case-insensitive and query can omit the prefix "ENTITLEMENT_". For example, `state=active` is equivalent to `state=ENTITLEMENT_ACTIVE`. If the query contains some special characters other than letters, underscore, or digits, the phrase must be quoted with double quotes. For example, `product="providerId:productId"`, where the product name needs to be quoted because it contains special character colon. Queries can be combined with `AND`, `OR`, and `NOT` to form more complex queries. They can also be grouped to force a desired evaluation order. For example, `state=active AND (account=E-1234 OR account=5678) AND NOT (product=foo-product)`. Connective `AND` can be omitted between two predicates. For example `account=E-1234 state=active` is equivalent to `account=E-1234 AND state=active`.
Type: string
parent
Pattern: ^providers/[^/]+$
Required: Yes
Description: Required. The parent resource name.
Location: path
Type: string
▼ ▲ cloudcommerceprocurement.providers.entitlements.rejectPlanChange
HTTP Method: POST
Parameters:
name
Description: Required. The resource name of the entitlement.
Location: path
Type: string
Pattern: ^providers/[^/]+/entitlements/[^/]+$
Required: Yes
Path: v1/{+name}:rejectPlanChange
Description: Rejects an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to reject the plan change on the entitlement resource.
Parameter Order: name
Flat Path: v1/providers/{providersId}/entitlements/{entitlementsId}:rejectPlanChange
▼ ▲ cloudcommerceprocurement.providers.entitlements.patch
Parameters:
name
Description: Required. The name of the entitlement to update.
Location: path
Required: Yes
Pattern: ^providers/[^/]+/entitlements/[^/]+$
Type: string
updateMask
Location: query
Type: string
Format: google-fieldmask
Description: The update mask that applies to the resource. See the [FieldMask definition] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask) for more details.
Parameter Order: name
Path: v1/{+name}
HTTP Method: PATCH
Description: Updates an existing Entitlement.
Flat Path: v1/providers/{providersId}/entitlements/{entitlementsId}