google-cloud-backupdr-v1 0.2.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -20
  3. data/lib/google/cloud/backupdr/v1/backupdr/client.rb +2850 -156
  4. data/lib/google/cloud/backupdr/v1/backupdr/operations.rb +12 -15
  5. data/lib/google/cloud/backupdr/v1/backupdr/paths.rb +101 -0
  6. data/lib/google/cloud/backupdr/v1/backupdr/rest/client.rb +2676 -156
  7. data/lib/google/cloud/backupdr/v1/backupdr/rest/operations.rb +43 -38
  8. data/lib/google/cloud/backupdr/v1/backupdr/rest/service_stub.rb +1514 -83
  9. data/lib/google/cloud/backupdr/v1/backupdr_pb.rb +5 -1
  10. data/lib/google/cloud/backupdr/v1/backupdr_services_pb.rb +48 -0
  11. data/lib/google/cloud/backupdr/v1/backupplan_pb.rb +62 -0
  12. data/lib/google/cloud/backupdr/v1/backupplanassociation_pb.rb +59 -0
  13. data/lib/google/cloud/backupdr/v1/backupvault_ba_pb.rb +46 -0
  14. data/lib/google/cloud/backupdr/v1/backupvault_gce_pb.rb +87 -0
  15. data/lib/google/cloud/backupdr/v1/backupvault_pb.rb +99 -0
  16. data/lib/google/cloud/backupdr/v1/version.rb +1 -1
  17. data/proto_docs/google/api/client.rb +39 -0
  18. data/proto_docs/google/api/field_info.rb +88 -0
  19. data/proto_docs/google/cloud/backupdr/v1/backupdr.rb +11 -10
  20. data/proto_docs/google/cloud/backupdr/v1/backupplan.rb +414 -0
  21. data/proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb +272 -0
  22. data/proto_docs/google/cloud/backupdr/v1/backupvault.rb +1103 -0
  23. data/proto_docs/google/cloud/backupdr/v1/backupvault_ba.rb +47 -0
  24. data/proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb +993 -0
  25. data/proto_docs/google/longrunning/operations.rb +19 -14
  26. data/proto_docs/google/type/dayofweek.rb +49 -0
  27. data/proto_docs/google/type/month.rb +64 -0
  28. metadata +18 -5
@@ -42,7 +42,7 @@ module Google
42
42
  # The error result of the operation in case of failure or cancellation.
43
43
  # @!attribute [rw] response
44
44
  # @return [::Google::Protobuf::Any]
45
- # The normal response of the operation in case of success. If the original
45
+ # The normal, successful response of the operation. If the original
46
46
  # method returns no data on success, such as `Delete`, the response is
47
47
  # `google.protobuf.Empty`. If the original method is standard
48
48
  # `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -55,7 +55,8 @@ module Google
55
55
  extend ::Google::Protobuf::MessageExts::ClassMethods
56
56
  end
57
57
 
58
- # The request message for Operations.GetOperation.
58
+ # The request message for
59
+ # Operations.GetOperation.
59
60
  # @!attribute [rw] name
60
61
  # @return [::String]
61
62
  # The name of the operation resource.
@@ -64,7 +65,8 @@ module Google
64
65
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
66
  end
66
67
 
67
- # The request message for Operations.ListOperations.
68
+ # The request message for
69
+ # Operations.ListOperations.
68
70
  # @!attribute [rw] name
69
71
  # @return [::String]
70
72
  # The name of the operation's parent resource.
@@ -82,7 +84,8 @@ module Google
82
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
83
85
  end
84
86
 
85
- # The response message for Operations.ListOperations.
87
+ # The response message for
88
+ # Operations.ListOperations.
86
89
  # @!attribute [rw] operations
87
90
  # @return [::Array<::Google::Longrunning::Operation>]
88
91
  # A list of operations that matches the specified filter in the request.
@@ -94,7 +97,8 @@ module Google
94
97
  extend ::Google::Protobuf::MessageExts::ClassMethods
95
98
  end
96
99
 
97
- # The request message for Operations.CancelOperation.
100
+ # The request message for
101
+ # Operations.CancelOperation.
98
102
  # @!attribute [rw] name
99
103
  # @return [::String]
100
104
  # The name of the operation resource to be cancelled.
@@ -103,7 +107,8 @@ module Google
103
107
  extend ::Google::Protobuf::MessageExts::ClassMethods
104
108
  end
105
109
 
106
- # The request message for Operations.DeleteOperation.
110
+ # The request message for
111
+ # Operations.DeleteOperation.
107
112
  # @!attribute [rw] name
108
113
  # @return [::String]
109
114
  # The name of the operation resource to be deleted.
@@ -112,7 +117,8 @@ module Google
112
117
  extend ::Google::Protobuf::MessageExts::ClassMethods
113
118
  end
114
119
 
115
- # The request message for Operations.WaitOperation.
120
+ # The request message for
121
+ # Operations.WaitOperation.
116
122
  # @!attribute [rw] name
117
123
  # @return [::String]
118
124
  # The name of the operation resource to wait on.
@@ -130,13 +136,12 @@ module Google
130
136
  #
131
137
  # Example:
132
138
  #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
139
+ # rpc Export(ExportRequest) returns (google.longrunning.Operation) {
140
+ # option (google.longrunning.operation_info) = {
141
+ # response_type: "ExportResponse"
142
+ # metadata_type: "ExportMetadata"
143
+ # };
144
+ # }
140
145
  # @!attribute [rw] response_type
141
146
  # @return [::String]
142
147
  # Required. The message name of the primary return type for this
@@ -0,0 +1,49 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # Represents a day of the week.
23
+ module DayOfWeek
24
+ # The day of the week is unspecified.
25
+ DAY_OF_WEEK_UNSPECIFIED = 0
26
+
27
+ # Monday
28
+ MONDAY = 1
29
+
30
+ # Tuesday
31
+ TUESDAY = 2
32
+
33
+ # Wednesday
34
+ WEDNESDAY = 3
35
+
36
+ # Thursday
37
+ THURSDAY = 4
38
+
39
+ # Friday
40
+ FRIDAY = 5
41
+
42
+ # Saturday
43
+ SATURDAY = 6
44
+
45
+ # Sunday
46
+ SUNDAY = 7
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,64 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Type
22
+ # Represents a month in the Gregorian calendar.
23
+ module Month
24
+ # The unspecified month.
25
+ MONTH_UNSPECIFIED = 0
26
+
27
+ # The month of January.
28
+ JANUARY = 1
29
+
30
+ # The month of February.
31
+ FEBRUARY = 2
32
+
33
+ # The month of March.
34
+ MARCH = 3
35
+
36
+ # The month of April.
37
+ APRIL = 4
38
+
39
+ # The month of May.
40
+ MAY = 5
41
+
42
+ # The month of June.
43
+ JUNE = 6
44
+
45
+ # The month of July.
46
+ JULY = 7
47
+
48
+ # The month of August.
49
+ AUGUST = 8
50
+
51
+ # The month of September.
52
+ SEPTEMBER = 9
53
+
54
+ # The month of October.
55
+ OCTOBER = 10
56
+
57
+ # The month of November.
58
+ NOVEMBER = 11
59
+
60
+ # The month of December.
61
+ DECEMBER = 12
62
+ end
63
+ end
64
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-backupdr-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-30 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.21.1
19
+ version: 0.24.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.21.1
29
+ version: 0.24.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -110,15 +110,26 @@ files:
110
110
  - lib/google/cloud/backupdr/v1/backupdr/rest/service_stub.rb
111
111
  - lib/google/cloud/backupdr/v1/backupdr_pb.rb
112
112
  - lib/google/cloud/backupdr/v1/backupdr_services_pb.rb
113
+ - lib/google/cloud/backupdr/v1/backupplan_pb.rb
114
+ - lib/google/cloud/backupdr/v1/backupplanassociation_pb.rb
115
+ - lib/google/cloud/backupdr/v1/backupvault_ba_pb.rb
116
+ - lib/google/cloud/backupdr/v1/backupvault_gce_pb.rb
117
+ - lib/google/cloud/backupdr/v1/backupvault_pb.rb
113
118
  - lib/google/cloud/backupdr/v1/bindings_override.rb
114
119
  - lib/google/cloud/backupdr/v1/rest.rb
115
120
  - lib/google/cloud/backupdr/v1/version.rb
116
121
  - proto_docs/README.md
117
122
  - proto_docs/google/api/client.rb
118
123
  - proto_docs/google/api/field_behavior.rb
124
+ - proto_docs/google/api/field_info.rb
119
125
  - proto_docs/google/api/launch_stage.rb
120
126
  - proto_docs/google/api/resource.rb
121
127
  - proto_docs/google/cloud/backupdr/v1/backupdr.rb
128
+ - proto_docs/google/cloud/backupdr/v1/backupplan.rb
129
+ - proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb
130
+ - proto_docs/google/cloud/backupdr/v1/backupvault.rb
131
+ - proto_docs/google/cloud/backupdr/v1/backupvault_ba.rb
132
+ - proto_docs/google/cloud/backupdr/v1/backupvault_gce.rb
122
133
  - proto_docs/google/longrunning/operations.rb
123
134
  - proto_docs/google/protobuf/any.rb
124
135
  - proto_docs/google/protobuf/duration.rb
@@ -127,7 +138,9 @@ files:
127
138
  - proto_docs/google/protobuf/timestamp.rb
128
139
  - proto_docs/google/protobuf/wrappers.rb
129
140
  - proto_docs/google/rpc/status.rb
141
+ - proto_docs/google/type/dayofweek.rb
130
142
  - proto_docs/google/type/expr.rb
143
+ - proto_docs/google/type/month.rb
131
144
  homepage: https://github.com/googleapis/google-cloud-ruby
132
145
  licenses:
133
146
  - Apache-2.0
@@ -147,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
160
  - !ruby/object:Gem::Version
148
161
  version: '0'
149
162
  requirements: []
150
- rubygems_version: 3.5.6
163
+ rubygems_version: 3.5.23
151
164
  signing_key:
152
165
  specification_version: 4
153
166
  summary: API Client library for the Backup and DR Service V1 API