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
name: string, Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId} (required)
325
+
body: object, The request body.
326
+
The object takes the form of:
327
+
328
+
{ # A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc
329
+
"backupPlan": "A String", # Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
330
+
"createTime": "A String", # Output only. The time when the instance was created.
331
+
"dataSource": "A String", # Output only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
332
+
"name": "A String", # Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
333
+
"resource": "A String", # Required. Immutable. Resource name of workload on which backupplan is applied
"rulesConfigInfo": [ # Output only. The config info related to backup rules.
336
+
{ # Message for rules config info.
337
+
"lastBackupError": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # Output only. google.rpc.Status object to store the last backup error.
338
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
339
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
340
+
{
341
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
342
+
},
343
+
],
344
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
345
+
},
346
+
"lastBackupState": "A String", # Output only. The last backup state for rule.
347
+
"lastSuccessfulBackupConsistencyTime": "A String", # Output only. The point in time when the last successful backup was captured from the source.
348
+
"ruleId": "A String", # Output only. Backup Rule id fetched from backup plan.
349
+
},
350
+
],
351
+
"state": "A String", # Output only. The BackupPlanAssociation resource state.
352
+
"updateTime": "A String", # Output only. The time when the instance was updated.
353
+
}
354
+
355
+
requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
356
+
updateMask: string, Required. The list of fields to update. Field mask is used to specify the fields to be overwritten in the BackupPlanAssociation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail. Currently backup_plan_association.backup_plan is the only supported field.
357
+
x__xgafv: string, V1 error format.
358
+
Allowed values
359
+
1 - v1 error format
360
+
2 - v2 error format
361
+
362
+
Returns:
363
+
An object of the form:
364
+
365
+
{ # This resource represents a long-running operation that is the result of a network API call.
366
+
"done": True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
367
+
"error": { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
368
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
369
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
370
+
{
371
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
372
+
},
373
+
],
374
+
"message": "A String", # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
375
+
},
376
+
"metadata": { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
377
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
378
+
},
379
+
"name": "A String", # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
380
+
"response": { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
381
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
Copy file name to clipboardExpand all lines: docs/dyn/backupdr_v1.projects.locations.backupPlans.html
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,9 @@ <h3>Method Details</h3>
147
147
"name": "A String", # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
"state": "A String", # Output only. The `State` for the `BackupPlan`.
150
+
"supportedResourceTypes": [ # Output only. All resource types to which backupPlan can be applied.
151
+
"A String",
152
+
],
150
153
"updateTime": "A String", # Output only. When the `BackupPlan` was last updated.
151
154
}
152
155
@@ -271,6 +274,9 @@ <h3>Method Details</h3>
271
274
"name": "A String", # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
"state": "A String", # Output only. The `State` for the `BackupPlan`.
277
+
"supportedResourceTypes": [ # Output only. All resource types to which backupPlan can be applied.
278
+
"A String",
279
+
],
274
280
"updateTime": "A String", # Output only. When the `BackupPlan` was last updated.
275
281
}</pre>
276
282
</div>
@@ -335,6 +341,9 @@ <h3>Method Details</h3>
335
341
"name": "A String", # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
0 commit comments