You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parent: string, Required. The parent resource where this secret will be created. Format: properties/{property}/dataStreams/{dataStream} (required)
110
+
body: object, The request body.
111
+
The object takes the form of:
112
+
113
+
{ # A secret value used for sending hits to Measurement Protocol.
114
+
"displayName": "A String", # Required. Human-readable display name for this secret.
115
+
"name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
116
+
"secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
117
+
}
118
+
119
+
x__xgafv: string, V1 error format.
120
+
Allowed values
121
+
1 - v1 error format
122
+
2 - v2 error format
123
+
124
+
Returns:
125
+
An object of the form:
126
+
127
+
{ # A secret value used for sending hits to Measurement Protocol.
128
+
"displayName": "A String", # Required. Human-readable display name for this secret.
129
+
"name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
130
+
"secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
name: string, Required. The name of the MeasurementProtocolSecret to delete. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} (required)
140
+
x__xgafv: string, V1 error format.
141
+
Allowed values
142
+
1 - v1 error format
143
+
2 - v2 error format
144
+
145
+
Returns:
146
+
An object of the form:
147
+
148
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
<pre>Lookup for a single "GA4" MeasurementProtocolSecret.
155
+
156
+
Args:
157
+
name: string, Required. The name of the measurement protocol secret to lookup. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} (required)
158
+
x__xgafv: string, V1 error format.
159
+
Allowed values
160
+
1 - v1 error format
161
+
2 - v2 error format
162
+
163
+
Returns:
164
+
An object of the form:
165
+
166
+
{ # A secret value used for sending hits to Measurement Protocol.
167
+
"displayName": "A String", # Required. Human-readable display name for this secret.
168
+
"name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
169
+
"secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
<pre>Returns child MeasurementProtocolSecrets under the specified parent Property.
176
+
177
+
Args:
178
+
parent: string, Required. The resource name of the parent stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets (required)
179
+
pageSize: integer, The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum.
180
+
pageToken: string, A page token, received from a previous `ListMeasurementProtocolSecrets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListMeasurementProtocolSecrets` must match the call that provided the page token.
181
+
x__xgafv: string, V1 error format.
182
+
Allowed values
183
+
1 - v1 error format
184
+
2 - v2 error format
185
+
186
+
Returns:
187
+
An object of the form:
188
+
189
+
{ # Response message for ListMeasurementProtocolSecret RPC
190
+
"measurementProtocolSecrets": [ # A list of secrets for the parent stream specified in the request.
191
+
{ # A secret value used for sending hits to Measurement Protocol.
192
+
"displayName": "A String", # Required. Human-readable display name for this secret.
193
+
"name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
194
+
"secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
195
+
},
196
+
],
197
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
name: string, Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret} (required)
221
+
body: object, The request body.
222
+
The object takes the form of:
223
+
224
+
{ # A secret value used for sending hits to Measurement Protocol.
225
+
"displayName": "A String", # Required. Human-readable display name for this secret.
226
+
"name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
227
+
"secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
228
+
}
229
+
230
+
updateMask: string, The list of fields to be updated. Omitted fields will not be updated.
231
+
x__xgafv: string, V1 error format.
232
+
Allowed values
233
+
1 - v1 error format
234
+
2 - v2 error format
235
+
236
+
Returns:
237
+
An object of the form:
238
+
239
+
{ # A secret value used for sending hits to Measurement Protocol.
240
+
"displayName": "A String", # Required. Human-readable display name for this secret.
241
+
"name": "A String", # Output only. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/webDataStreams/{webDataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
242
+
"secretValue": "A String", # Output only. The measurement protocol secret value. Pass this value to the api_secret field of the Measurement Protocol API when sending hits to this secret's parent property.
<pre>Returns child Properties under the specified parent Account. Only "GA4" properties will be returned. Properties will be excluded if the caller does not have access. Soft-deleted (ie: "trashed") properties are excluded by default. Returns an empty list if no relevant properties are found.
356
346
357
347
Args:
358
-
filter: string, Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. | ```
348
+
filter: string, Required. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account) or `ancestor:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | ancestor:accounts/123 | The account with account id: 123. | | firebase_project:project-id | The firebase project with id: project-id. | | firebase_project:123 | The firebase project with number: 123. | ```
359
349
pageSize: integer, The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
360
350
pageToken: string, A page token, received from a previous `ListProperties` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProperties` must match the call that provided the page token.
361
351
showDeleted: boolean, Whether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not.
0 commit comments