0.2.0 (latest) 0.1.1 Reference documentation and code samples for the Google Cloud App Topology V1 Client class GenerateDiscoveredResourcesTopologyRequest.

Request for GenerateDiscoveredResourcesTopology.

Generated from protobuf message `google.cloud.apptopology.v1.GenerateDiscoveredResourcesTopologyRequest`

## Namespace

Google \\ Cloud \\ AppTopology \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ filter` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.GraphPattern` Filters for the topology nodes and edges; Detail format see GraphPattern proto. A separate 'LookupSchema' method will be added that will return the necessary information to be able to construct these filters. |
| `↳ name` | `string` Required. The project to query discoverable resources on. Expected format: `projects/{project}/locations/{location}/discoveredResourcesTopology`. Only `global` location is supported. |
| `↳ topology_domains` | `string[]` Required. The full resource name of the domain of the app topology. Format: `projects/{project}/locations/{location}/domains/{domain}` Caller must have apptopology.domains.get permission on each of the domains. |

### getFilter

Filters for the topology nodes and edges; Detail format see GraphPattern
proto. A separate 'LookupSchema' method will be added that will return
the necessary information to be able to construct these filters.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.GraphPattern|null` |   |

### hasFilter

### setFilter

Filters for the topology nodes and edges; Detail format see GraphPattern
proto. A separate 'LookupSchema' method will be added that will return
the necessary information to be able to construct these filters.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.GraphPattern` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getName

Required. The project to query discoverable resources on.

Expected format:
`projects/{project}/locations/{location}/discoveredResourcesTopology`.
Only `global` location is supported.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. The project to query discoverable resources on.

Expected format:
`projects/{project}/locations/{location}/discoveredResourcesTopology`.
Only `global` location is supported.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTopologyDomains

Required. The full resource name of the domain of the app topology.

Format: `projects/{project}/locations/{location}/domains/{domain}`
Caller must have apptopology.domains.get permission on each of the domains.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setTopologyDomains

Required. The full resource name of the domain of the app topology.

Format: `projects/{project}/locations/{location}/domains/{domain}`
Caller must have apptopology.domains.get permission on each of the domains.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getQuery

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The project to query discoverable resources on. Expected format: `projects/{project}/locations/{location}/discoveredResourcesTopology`. Only `global` location is supported. Please see AppTopologyClient::discoveredResourcesTopologyName() for help formatting this field. |
| `topologyDomains` | `string[]` Required. The full resource name of the domain of the app topology. Format: `projects/{project}/locations/{location}/domains/{domain}` Caller must have apptopology.domains.get permission on each of the domains. Please see AppTopologyClient::domainName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apptopology/latest/V1.GenerateDiscoveredResourcesTopologyRequest` |   |