Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'type' => 'string',
'required' => true,
],
'extraLocationTypes' => [
'location' => 'query',
'type' => 'string',
'repeated' => true,
],
'filter' => [
'location' => 'query',
'type' => 'string',
Expand Down Expand Up @@ -580,6 +585,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'returnPartialSuccess' => [
'location' => 'query',
'type' => 'boolean',
],
],
],
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance extends \Google\Co
* @var string
*/
public $consumerDefinedName;
/**
* Optional. The consumer_project_number associated with this Apigee instance.
* This field is added specifically to support Apigee integration with SLM
* Rollout and UMM. It represents the numerical project ID of the GCP project
* that consumes this Apigee instance. It is used for SLM rollout
* notifications and UMM integration, enabling proper mapping to customer
* projects and log delivery for Apigee instances. This field complements
* consumer_project_id and may be used for specific Apigee scenarios where the
* numerical ID is required.
*
* @var string
*/
public $consumerProjectNumber;
/**
* Output only. Timestamp when the resource was created.
*
Expand Down Expand Up @@ -181,6 +194,29 @@ public function getConsumerDefinedName()
{
return $this->consumerDefinedName;
}
/**
* Optional. The consumer_project_number associated with this Apigee instance.
* This field is added specifically to support Apigee integration with SLM
* Rollout and UMM. It represents the numerical project ID of the GCP project
* that consumes this Apigee instance. It is used for SLM rollout
* notifications and UMM integration, enabling proper mapping to customer
* projects and log delivery for Apigee instances. This field complements
* consumer_project_id and may be used for specific Apigee scenarios where the
* numerical ID is required.
*
* @param string $consumerProjectNumber
*/
public function setConsumerProjectNumber($consumerProjectNumber)
{
$this->consumerProjectNumber = $consumerProjectNumber;
}
/**
* @return string
*/
public function getConsumerProjectNumber()
{
return $this->consumerProjectNumber;
}
/**
* Output only. Timestamp when the resource was created.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

class ListOperationsResponse extends \Google\Collection
{
protected $collection_key = 'operations';
protected $collection_key = 'unreachable';
/**
* The standard List next-page token.
*
Expand All @@ -28,6 +28,15 @@ class ListOperationsResponse extends \Google\Collection
public $nextPageToken;
protected $operationsType = Operation::class;
protected $operationsDataType = 'array';
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @var string[]
*/
public $unreachable;

/**
* The standard List next-page token.
Expand Down Expand Up @@ -61,6 +70,25 @@ public function getOperations()
{
return $this->operations;
}
/**
* Unordered list. Unreachable resources. Populated when the request sets
* `ListOperationsRequest.return_partial_success` and reads across
* collections. For example, when attempting to list all resources across all
* supported locations.
*
* @param string[] $unreachable
*/
public function setUnreachable($unreachable)
{
$this->unreachable = $unreachable;
}
/**
* @return string[]
*/
public function getUnreachable()
{
return $this->unreachable;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,20 @@ public function get($name, $optParams = [])
return $this->call('get', [$params], Location::class);
}
/**
* Lists information about the supported locations for this service.
* Lists information about the supported locations for this service. This method
* can be called in two ways: * **List all public locations:** Use the path `GET
* /v1/locations`. * **List project-visible locations:** Use the path `GET
* /v1/projects/{project_id}/locations`. This may include public locations as
* well as private or other locations specifically visible to the project.
* (locations.listProjectsLocations)
*
* @param string $name The resource that owns the locations collection, if
* applicable.
* @param array $optParams Optional parameters.
*
* @opt_param string extraLocationTypes Optional. Do not use this field. It is
* unsupported and is ignored unless explicitly documented otherwise. This is
* primarily for internal usage.
* @opt_param string filter A filter to narrow down results to a preferred
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,13 @@ public function get($name, $optParams = [])
* @opt_param string filter The standard list filter.
* @opt_param int pageSize The standard list page size.
* @opt_param string pageToken The standard list page token.
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
* reachable are returned as normal, and those that are unreachable are returned
* in the ListOperationsResponse.unreachable field. This can only be `true` when
* reading across collections. For example, when `parent` is set to
* `"projects/example/locations/-"`. This field is not supported by default and
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
* otherwise in service or product specific documentation.
* @return ListOperationsResponse
* @throws \Google\Service\Exception
*/
Expand Down