Skip to content

Commit 50b47b6

Browse files
authored
Update the description of mirroring resources. (#13255)
1 parent 50dbf8d commit 50b47b6

File tree

4 files changed

+193
-75
lines changed

4 files changed

+193
-75
lines changed

mmv1/products/networksecurity/MirroringDeployment.yaml

+45-18
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313

1414
---
1515
name: 'MirroringDeployment'
16-
description: MirroringDeployment represents the collectors within a Zone and is associated with a deployment group.
16+
description: |-
17+
A deployment represents a zonal mirroring backend ready to accept
18+
GENEVE-encapsulated replica traffic, e.g. a zonal instance group fronted by
19+
an internal passthrough load balancer. Deployments are always part of a
20+
global deployment group which represents a global mirroring service.
1721
min_version: 'beta'
1822
references:
1923
guides:
@@ -55,65 +59,88 @@ examples:
5559
parameters:
5660
- name: 'location'
5761
type: String
58-
description: 'Resource ID segment making up resource `name`. It identifies the resource
59-
within its parent collection as described in https://google.aip.dev/122. See documentation
60-
for resource type `networksecurity.googleapis.com/MirroringDeployment`. '
62+
description: |-
63+
The cloud location of the deployment, e.g. `us-central1-a` or `asia-south1-b`.
6164
min_version: 'beta'
6265
url_param_only: true
6366
required: true
6467
immutable: true
6568
- name: 'mirroringDeploymentId'
6669
type: String
67-
description: "Required. Id of the requesting object\nIf auto-generating Id server-side,
68-
remove this field and\nmirroring_deployment_id from the method_signature of Create
69-
RPC "
70+
description: |-
71+
The ID to use for the new deployment, which will become the final
72+
component of the deployment's resource name.
7073
min_version: 'beta'
7174
url_param_only: true
7275
required: true
7376
immutable: true
7477
properties:
7578
- name: 'name'
7679
type: String
77-
description: 'Immutable. Identifier. The name of the MirroringDeployment. '
80+
description: |-
81+
The resource name of this deployment, for example:
82+
`projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`.
83+
See https://google.aip.dev/122 for more details.
7884
min_version: 'beta'
7985
immutable: true
8086
output: true
8187
- name: 'createTime'
8288
type: String
83-
description: 'Output only. [Output only] Create time stamp '
89+
description: |-
90+
The timestamp when the resource was created.
91+
See https://google.aip.dev/148#timestamps.
8492
min_version: 'beta'
8593
output: true
8694
- name: 'updateTime'
8795
type: String
88-
description: 'Output only. [Output only] Update time stamp '
96+
description: |-
97+
The timestamp when the resource was most recently updated.
98+
See https://google.aip.dev/148#timestamps.
8999
min_version: 'beta'
90100
output: true
91101
- name: 'labels'
92102
type: KeyValueLabels
93-
description: 'Optional. Labels as key value pairs '
103+
description: |-
104+
Labels are key/value pairs that help to organize and filter resources.
94105
min_version: 'beta'
95106
- name: 'forwardingRule'
96107
type: String
97-
description: "Required. Immutable. The regional load balancer which the mirrored
98-
traffic should be forwarded\nto. Format is:\nprojects/{project}/regions/{region}/forwardingRules/{forwardingRule} "
108+
description: |-
109+
The regional forwarding rule that fronts the mirroring collectors, for
110+
example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`.
111+
See https://google.aip.dev/124.
99112
min_version: 'beta'
100113
required: true
101114
immutable: true
102115
- name: 'mirroringDeploymentGroup'
103116
type: String
104-
description: "Required. Immutable. The Mirroring Deployment Group that this resource
105-
is part of. Format is:\n`projects/{project}/locations/global/mirroringDeploymentGroups/{mirroringDeploymentGroup}` "
117+
description: |-
118+
The deployment group that this deployment is a part of, for example:
119+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
120+
See https://google.aip.dev/124.
106121
min_version: 'beta'
107122
required: true
108123
immutable: true
109124
- name: 'state'
110125
type: String
111-
description: "Output only. Current state of the deployment. \n Possible values:\n
112-
STATE_UNSPECIFIED\nACTIVE\nCREATING\nDELETING\nOUT_OF_SYNC\nDELETE_FAILED"
126+
description: |-
127+
The current state of the deployment.
128+
See https://google.aip.dev/216.
129+
Possible values:
130+
STATE_UNSPECIFIED
131+
ACTIVE
132+
CREATING
133+
DELETING
134+
OUT_OF_SYNC
135+
DELETE_FAILED
113136
min_version: 'beta'
114137
output: true
115138
- name: 'reconciling'
116139
type: Boolean
117-
description: "Output only. Whether reconciling is in progress, recommended per\nhttps://google.aip.dev/128. "
140+
description: |-
141+
The current state of the resource does not match the user's intended state,
142+
and the system is working to reconcile them. This part of the normal
143+
operation (e.g. linking a new association to the parent group).
144+
See https://google.aip.dev/128.
118145
min_version: 'beta'
119146
output: true

mmv1/products/networksecurity/MirroringDeploymentGroup.yaml

+44-19
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313

1414
---
1515
name: 'MirroringDeploymentGroup'
16-
description: A Deployment Group represents the collector deployments across different zones within an organization.
16+
description: |-
17+
A deployment group aggregates many zonal mirroring backends (deployments)
18+
into a single global mirroring service. Consumers can connect this service
19+
using an endpoint group.
1720
min_version: 'beta'
1821
references:
1922
guides:
@@ -51,72 +54,94 @@ examples:
5154
parameters:
5255
- name: 'location'
5356
type: String
54-
description: 'Resource ID segment making up resource `name`. It identifies the resource
55-
within its parent collection as described in https://google.aip.dev/122. See documentation
56-
for resource type `networksecurity.googleapis.com/MirroringDeploymentGroup`. '
57+
description: |-
58+
The cloud location of the deployment group, currently restricted to `global`.
5759
min_version: 'beta'
5860
url_param_only: true
5961
required: true
6062
immutable: true
6163
- name: 'mirroringDeploymentGroupId'
6264
type: String
63-
description: "Required. Id of the requesting object\nIf auto-generating Id server-side,
64-
remove this field and\nmirroring_deployment_group_id from the method_signature
65-
of Create RPC "
65+
description: |-
66+
The ID to use for the new deployment group, which will become the final
67+
component of the deployment group's resource name.
6668
min_version: 'beta'
6769
url_param_only: true
6870
required: true
6971
immutable: true
7072
properties:
7173
- name: 'name'
7274
type: String
73-
description: 'Immutable. Identifier. Then name of the MirroringDeploymentGroup. '
75+
description: |-
76+
The resource name of this deployment group, for example:
77+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
78+
See https://google.aip.dev/122 for more details.
7479
min_version: 'beta'
7580
immutable: true
7681
output: true
7782
- name: 'createTime'
7883
type: String
79-
description: 'Output only. [Output only] Create time stamp '
84+
description: |-
85+
The timestamp when the resource was created.
86+
See https://google.aip.dev/148#timestamps.
8087
min_version: 'beta'
8188
output: true
8289
- name: 'updateTime'
8390
type: String
84-
description: 'Output only. [Output only] Update time stamp '
91+
description: |-
92+
The timestamp when the resource was most recently updated.
93+
See https://google.aip.dev/148#timestamps.
8594
min_version: 'beta'
8695
output: true
8796
- name: 'labels'
8897
type: KeyValueLabels
89-
description: 'Optional. Labels as key value pairs '
98+
description: |-
99+
Labels are key/value pairs that help to organize and filter resources.
90100
min_version: 'beta'
91101
- name: 'network'
92102
type: String
93-
description: "Required. Immutable. The network that is being used for the deployment.
94-
Format is:\nprojects/{project}/global/networks/{network}. "
103+
description: |-
104+
The network that will be used for all child deployments, for example:
105+
`projects/{project}/global/networks/{network}`.
106+
See https://google.aip.dev/124.
95107
min_version: 'beta'
96108
required: true
97109
immutable: true
98110
- name: 'connectedEndpointGroups'
99111
type: Array
100-
description: 'Output only. The list of Mirroring Endpoint Groups that are connected
101-
to this resource. '
112+
description: |-
113+
The list of endpoint groups that are connected to this resource.
102114
min_version: 'beta'
103115
output: true
104116
item_type:
105117
type: NestedObject
106118
properties:
107119
- name: 'name'
108120
type: String
109-
description: 'Output only. A connected mirroring endpoint group. '
121+
description: |-
122+
The connected endpoint group's resource name, for example:
123+
`projects/123456789/locations/global/mirroringEndpointGroups/my-eg`.
124+
See https://google.aip.dev/124.
110125
min_version: 'beta'
111126
output: true
112127
- name: 'state'
113128
type: String
114-
description: "Output only. Current state of the deployment group. \n Possible values:\n
115-
STATE_UNSPECIFIED\nACTIVE\nCREATING\nDELETING"
129+
description: |-
130+
The current state of the deployment group.
131+
See https://google.aip.dev/216.
132+
Possible values:
133+
STATE_UNSPECIFIED
134+
ACTIVE
135+
CREATING
136+
DELETING
116137
min_version: 'beta'
117138
output: true
118139
- name: 'reconciling'
119140
type: Boolean
120-
description: "Output only. Whether reconciling is in progress, recommended per\nhttps://google.aip.dev/128. "
141+
description: |-
142+
The current state of the resource does not match the user's intended state,
143+
and the system is working to reconcile them. This is part of the normal
144+
operation (e.g. adding a new deployment to the group)
145+
See https://google.aip.dev/128.
121146
min_version: 'beta'
122147
output: true

mmv1/products/networksecurity/MirroringEndpointGroup.yaml

+43-16
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313

1414
---
1515
name: 'MirroringEndpointGroup'
16-
description: A mirroring endpoint group is a global resource in the consumer account representing the producer’s deployment group.
16+
description: |-
17+
An endpoint group is a consumer frontend for a deployment group (backend).
18+
In order to configure mirroring for a network, consumers must create:
19+
- An association between their network and the endpoint group.
20+
- A security profile that points to the endpoint group.
21+
- A mirroring rule that references the security profile (group).
1722
min_version: 'beta'
1823
references:
1924
guides:
@@ -51,58 +56,80 @@ examples:
5156
parameters:
5257
- name: 'location'
5358
type: String
54-
description: 'Resource ID segment making up resource `name`. It identifies the resource
55-
within its parent collection as described in https://google.aip.dev/122. See documentation
56-
for resource type `networksecurity.googleapis.com/MirroringEndpointGroup`. '
59+
description: |-
60+
The cloud location of the endpoint group, currently restricted to `global`.
5761
min_version: 'beta'
5862
url_param_only: true
5963
required: true
6064
immutable: true
6165
- name: 'mirroringEndpointGroupId'
6266
type: String
63-
description: "Required. Id of the requesting object\nIf auto-generating Id server-side,
64-
remove this field and\nmirroring_endpoint_group_id from the method_signature of
65-
Create RPC "
67+
description: |-
68+
The ID to use for the endpoint group, which will become the final component
69+
of the endpoint group's resource name.
6670
min_version: 'beta'
6771
url_param_only: true
6872
required: true
6973
immutable: true
7074
properties:
7175
- name: 'name'
7276
type: String
73-
description: 'Immutable. Identifier. The name of the MirroringEndpointGroup. '
77+
description: |-
78+
The resource name of this endpoint group, for example:
79+
`projects/123456789/locations/global/mirroringEndpointGroups/my-eg`.
80+
See https://google.aip.dev/122 for more details.
7481
min_version: 'beta'
7582
immutable: true
7683
output: true
7784
- name: 'createTime'
7885
type: String
79-
description: 'Output only. [Output only] Create time stamp '
86+
description: |-
87+
The timestamp when the resource was created.
88+
See https://google.aip.dev/148#timestamps.
8089
min_version: 'beta'
8190
output: true
8291
- name: 'updateTime'
8392
type: String
84-
description: 'Output only. [Output only] Update time stamp '
93+
description: |-
94+
The timestamp when the resource was most recently updated.
95+
See https://google.aip.dev/148#timestamps.
8596
min_version: 'beta'
8697
output: true
8798
- name: 'labels'
8899
type: KeyValueLabels
89-
description: 'Optional. Labels as key value pairs '
100+
description: |-
101+
Labels are key/value pairs that help to organize and filter resources.
90102
min_version: 'beta'
91103
- name: 'mirroringDeploymentGroup'
92104
type: String
93-
description: "Required. Immutable. The Mirroring Deployment Group that this resource
94-
is connected to. Format\nis:\n`projects/{project}/locations/global/mirroringDeploymentGroups/{mirroringDeploymentGroup}` "
105+
description: |-
106+
The deployment group that this DIRECT endpoint group is connected to, for example:
107+
`projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`.
108+
See https://google.aip.dev/124.
95109
min_version: 'beta'
96110
required: true
97111
immutable: true
98112
- name: 'state'
99113
type: String
100-
description: "Output only. Current state of the endpoint group. \n Possible values:\n
101-
STATE_UNSPECIFIED\nACTIVE\nCLOSED\nCREATING\nDELETING\nOUT_OF_SYNC"
114+
description: |-
115+
The current state of the endpoint group.
116+
See https://google.aip.dev/216.
117+
Possible values:
118+
STATE_UNSPECIFIED
119+
ACTIVE
120+
CLOSED
121+
CREATING
122+
DELETING
123+
OUT_OF_SYNC
124+
DELETE_FAILED
102125
min_version: 'beta'
103126
output: true
104127
- name: 'reconciling'
105128
type: Boolean
106-
description: "Output only. Whether reconciling is in progress, recommended per\nhttps://google.aip.dev/128. "
129+
description: |-
130+
The current state of the resource does not match the user's intended state,
131+
and the system is working to reconcile them. This is part of the normal
132+
operation (e.g. adding a new association to the group).
133+
See https://google.aip.dev/128.
107134
min_version: 'beta'
108135
output: true

0 commit comments

Comments
 (0)