vagrant-unbundled 2.3.2.0 → 2.3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -0
  3. data/Gemfile.lock +12 -12
  4. data/LICENSE +1 -3
  5. data/lib/vagrant/errors.rb +4 -0
  6. data/lib/vagrant/util/install_cli_autocomplete.rb +3 -3
  7. data/lib/vagrant.rb +0 -3
  8. data/pkg/vagrant-unbundled-2.3.2.0.gem +0 -0
  9. data/plugins/commands/serve/command.rb +1 -1
  10. data/plugins/guests/solaris/cap/remove_public_key.rb +2 -2
  11. data/plugins/hosts/gentoo/host.rb +1 -1
  12. data/plugins/hosts/slackware/host.rb +1 -1
  13. data/plugins/providers/virtualbox/action/network.rb +8 -5
  14. data/plugins/providers/virtualbox/driver/base.rb +3 -1
  15. data/plugins/providers/virtualbox/driver/version_5_0.rb +40 -36
  16. data/plugins/providers/virtualbox/driver/version_7_0.rb +223 -5
  17. data/plugins/provisioners/ansible/cap/guest/debian/ansible_install.rb +1 -1
  18. data/plugins/provisioners/ansible/provisioner/host.rb +1 -1
  19. data/plugins/provisioners/chef/config/chef_zero.rb +1 -1
  20. data/plugins/synced_folders/rsync/helper.rb +1 -0
  21. data/templates/locales/en.yml +4 -0
  22. data/thirdparty/proto/api-common-protos/.bazelrc +2 -0
  23. data/thirdparty/proto/api-common-protos/.git +1 -0
  24. data/thirdparty/proto/api-common-protos/.gitignore +11 -0
  25. data/thirdparty/proto/api-common-protos/BUILD.bazel +129 -0
  26. data/thirdparty/proto/api-common-protos/CODE_OF_CONDUCT.md +43 -0
  27. data/thirdparty/proto/api-common-protos/CONTRIBUTING.md +42 -0
  28. data/thirdparty/proto/api-common-protos/Dockerfile +18 -0
  29. data/thirdparty/proto/api-common-protos/LICENSE +201 -0
  30. data/thirdparty/proto/api-common-protos/README.md +113 -0
  31. data/thirdparty/proto/api-common-protos/SECURITY.md +7 -0
  32. data/thirdparty/proto/api-common-protos/WORKSPACE +154 -0
  33. data/thirdparty/proto/api-common-protos/google/api/BUILD.bazel +246 -0
  34. data/thirdparty/proto/api-common-protos/google/api/README.md +46 -0
  35. data/thirdparty/proto/api-common-protos/google/api/annotations.proto +31 -0
  36. data/thirdparty/proto/api-common-protos/google/api/auth.proto +181 -0
  37. data/thirdparty/proto/api-common-protos/google/api/backend.proto +51 -0
  38. data/thirdparty/proto/api-common-protos/google/api/billing.proto +67 -0
  39. data/thirdparty/proto/api-common-protos/google/api/client.proto +99 -0
  40. data/thirdparty/proto/api-common-protos/google/api/config_change.proto +85 -0
  41. data/thirdparty/proto/api-common-protos/google/api/consumer.proto +83 -0
  42. data/thirdparty/proto/api-common-protos/google/api/context.proto +63 -0
  43. data/thirdparty/proto/api-common-protos/google/api/control.proto +33 -0
  44. data/thirdparty/proto/api-common-protos/google/api/distribution.proto +213 -0
  45. data/thirdparty/proto/api-common-protos/google/api/documentation.proto +157 -0
  46. data/thirdparty/proto/api-common-protos/google/api/endpoint.proto +71 -0
  47. data/thirdparty/proto/api-common-protos/google/api/field_behavior.proto +84 -0
  48. data/thirdparty/proto/api-common-protos/google/api/http.proto +318 -0
  49. data/thirdparty/proto/api-common-protos/google/api/httpbody.proto +76 -0
  50. data/thirdparty/proto/api-common-protos/google/api/label.proto +49 -0
  51. data/thirdparty/proto/api-common-protos/google/api/launch_stage.proto +67 -0
  52. data/thirdparty/proto/api-common-protos/google/api/log.proto +55 -0
  53. data/thirdparty/proto/api-common-protos/google/api/logging.proto +83 -0
  54. data/thirdparty/proto/api-common-protos/google/api/metric.proto +192 -0
  55. data/thirdparty/proto/api-common-protos/google/api/monitored_resource.proto +116 -0
  56. data/thirdparty/proto/api-common-protos/google/api/monitoring.proto +89 -0
  57. data/thirdparty/proto/api-common-protos/google/api/quota.proto +259 -0
  58. data/thirdparty/proto/api-common-protos/google/api/resource.proto +299 -0
  59. data/thirdparty/proto/api-common-protos/google/api/routing.proto +461 -0
  60. data/thirdparty/proto/api-common-protos/google/api/service.proto +175 -0
  61. data/thirdparty/proto/api-common-protos/google/api/source_info.proto +32 -0
  62. data/thirdparty/proto/api-common-protos/google/api/system_parameter.proto +96 -0
  63. data/thirdparty/proto/api-common-protos/google/api/usage.proto +92 -0
  64. data/thirdparty/proto/api-common-protos/google/cloud/extended_operations.proto +150 -0
  65. data/thirdparty/proto/api-common-protos/google/iam/README.md +14 -0
  66. data/thirdparty/proto/api-common-protos/google/iam/admin/v1/iam.proto +1087 -0
  67. data/thirdparty/proto/api-common-protos/google/iam/v1/iam_policy.proto +145 -0
  68. data/thirdparty/proto/api-common-protos/google/iam/v1/logging/audit_data.proto +34 -0
  69. data/thirdparty/proto/api-common-protos/google/iam/v1/options.proto +41 -0
  70. data/thirdparty/proto/api-common-protos/google/iam/v1/policy.proto +240 -0
  71. data/thirdparty/proto/api-common-protos/google/logging/type/README.md +12 -0
  72. data/thirdparty/proto/api-common-protos/google/logging/type/http_request.proto +92 -0
  73. data/thirdparty/proto/api-common-protos/google/logging/type/log_severity.proto +72 -0
  74. data/thirdparty/proto/api-common-protos/google/longrunning/README.md +31 -0
  75. data/thirdparty/proto/api-common-protos/google/longrunning/operations.proto +247 -0
  76. data/thirdparty/proto/api-common-protos/google/rpc/README.md +18 -0
  77. data/thirdparty/proto/api-common-protos/google/rpc/code.proto +186 -0
  78. data/thirdparty/proto/api-common-protos/google/rpc/context/attribute_context.proto +287 -0
  79. data/thirdparty/proto/api-common-protos/google/rpc/error_details.proto +246 -0
  80. data/thirdparty/proto/api-common-protos/google/rpc/status.proto +47 -0
  81. data/thirdparty/proto/api-common-protos/google/type/README.md +7 -0
  82. data/thirdparty/proto/api-common-protos/google/type/calendar_period.proto +57 -0
  83. data/thirdparty/proto/api-common-protos/google/type/color.proto +170 -0
  84. data/thirdparty/proto/api-common-protos/google/type/date.proto +50 -0
  85. data/thirdparty/proto/api-common-protos/google/type/datetime.proto +97 -0
  86. data/thirdparty/proto/api-common-protos/google/type/dayofweek.proto +51 -0
  87. data/thirdparty/proto/api-common-protos/google/type/expr.proto +51 -0
  88. data/thirdparty/proto/api-common-protos/google/type/fraction.proto +34 -0
  89. data/thirdparty/proto/api-common-protos/google/type/latlng.proto +37 -0
  90. data/thirdparty/proto/api-common-protos/google/type/money.proto +43 -0
  91. data/thirdparty/proto/api-common-protos/google/type/month.proto +66 -0
  92. data/thirdparty/proto/api-common-protos/google/type/postal_address.proto +135 -0
  93. data/thirdparty/proto/api-common-protos/google/type/quaternion.proto +95 -0
  94. data/thirdparty/proto/api-common-protos/google/type/timeofday.proto +44 -0
  95. data/thirdparty/proto/api-common-protos/renovate.json +5 -0
  96. data/thirdparty/proto/api-common-protos/repository_rules.bzl +222 -0
  97. data/vagrant.gemspec +4 -4
  98. data/version.txt +1 -1
  99. metadata +89 -20
  100. data/lib/vagrant/patches/net-ssh.rb +0 -286
@@ -0,0 +1,96 @@
1
+ // Copyright 2018 Google LLC.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.api;
18
+
19
+ option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
20
+ option java_multiple_files = true;
21
+ option java_outer_classname = "SystemParameterProto";
22
+ option java_package = "com.google.api";
23
+ option objc_class_prefix = "GAPI";
24
+
25
+
26
+ // ### System parameter configuration
27
+ //
28
+ // A system parameter is a special kind of parameter defined by the API
29
+ // system, not by an individual API. It is typically mapped to an HTTP header
30
+ // and/or a URL query parameter. This configuration specifies which methods
31
+ // change the names of the system parameters.
32
+ message SystemParameters {
33
+ // Define system parameters.
34
+ //
35
+ // The parameters defined here will override the default parameters
36
+ // implemented by the system. If this field is missing from the service
37
+ // config, default system parameters will be used. Default system parameters
38
+ // and names is implementation-dependent.
39
+ //
40
+ // Example: define api key for all methods
41
+ //
42
+ // system_parameters
43
+ // rules:
44
+ // - selector: "*"
45
+ // parameters:
46
+ // - name: api_key
47
+ // url_query_parameter: api_key
48
+ //
49
+ //
50
+ // Example: define 2 api key names for a specific method.
51
+ //
52
+ // system_parameters
53
+ // rules:
54
+ // - selector: "/ListShelves"
55
+ // parameters:
56
+ // - name: api_key
57
+ // http_header: Api-Key1
58
+ // - name: api_key
59
+ // http_header: Api-Key2
60
+ //
61
+ // **NOTE:** All service configuration rules follow "last one wins" order.
62
+ repeated SystemParameterRule rules = 1;
63
+ }
64
+
65
+ // Define a system parameter rule mapping system parameter definitions to
66
+ // methods.
67
+ message SystemParameterRule {
68
+ // Selects the methods to which this rule applies. Use '*' to indicate all
69
+ // methods in all APIs.
70
+ //
71
+ // Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
72
+ string selector = 1;
73
+
74
+ // Define parameters. Multiple names may be defined for a parameter.
75
+ // For a given method call, only one of them should be used. If multiple
76
+ // names are used the behavior is implementation-dependent.
77
+ // If none of the specified names are present the behavior is
78
+ // parameter-dependent.
79
+ repeated SystemParameter parameters = 2;
80
+ }
81
+
82
+ // Define a parameter's name and location. The parameter may be passed as either
83
+ // an HTTP header or a URL query parameter, and if both are passed the behavior
84
+ // is implementation-dependent.
85
+ message SystemParameter {
86
+ // Define the name of the parameter, such as "api_key" . It is case sensitive.
87
+ string name = 1;
88
+
89
+ // Define the HTTP header name to use for the parameter. It is case
90
+ // insensitive.
91
+ string http_header = 2;
92
+
93
+ // Define the URL query parameter name to use for the parameter. It is case
94
+ // sensitive.
95
+ string url_query_parameter = 3;
96
+ }
@@ -0,0 +1,92 @@
1
+ // Copyright 2018 Google LLC.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ syntax = "proto3";
16
+
17
+ package google.api;
18
+
19
+ import "google/api/annotations.proto";
20
+
21
+ option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
22
+ option java_multiple_files = true;
23
+ option java_outer_classname = "UsageProto";
24
+ option java_package = "com.google.api";
25
+ option objc_class_prefix = "GAPI";
26
+
27
+
28
+ // Configuration controlling usage of a service.
29
+ message Usage {
30
+ // Requirements that must be satisfied before a consumer project can use the
31
+ // service. Each requirement is of the form <service.name>/<requirement-id>;
32
+ // for example 'serviceusage.googleapis.com/billing-enabled'.
33
+ repeated string requirements = 1;
34
+
35
+ // A list of usage rules that apply to individual API methods.
36
+ //
37
+ // **NOTE:** All service configuration rules follow "last one wins" order.
38
+ repeated UsageRule rules = 6;
39
+
40
+ // The full resource name of a channel used for sending notifications to the
41
+ // service producer.
42
+ //
43
+ // Google Service Management currently only supports
44
+ // [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
45
+ // channel. To use Google Cloud Pub/Sub as the channel, this must be the name
46
+ // of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
47
+ // documented in https://cloud.google.com/pubsub/docs/overview.
48
+ string producer_notification_channel = 7;
49
+ }
50
+
51
+ // Usage configuration rules for the service.
52
+ //
53
+ // NOTE: Under development.
54
+ //
55
+ //
56
+ // Use this rule to configure unregistered calls for the service. Unregistered
57
+ // calls are calls that do not contain consumer project identity.
58
+ // (Example: calls that do not contain an API key).
59
+ // By default, API methods do not allow unregistered calls, and each method call
60
+ // must be identified by a consumer project identity. Use this rule to
61
+ // allow/disallow unregistered calls.
62
+ //
63
+ // Example of an API that wants to allow unregistered calls for entire service.
64
+ //
65
+ // usage:
66
+ // rules:
67
+ // - selector: "*"
68
+ // allow_unregistered_calls: true
69
+ //
70
+ // Example of a method that wants to allow unregistered calls.
71
+ //
72
+ // usage:
73
+ // rules:
74
+ // - selector: "google.example.library.v1.LibraryService.CreateBook"
75
+ // allow_unregistered_calls: true
76
+ message UsageRule {
77
+ // Selects the methods to which this rule applies. Use '*' to indicate all
78
+ // methods in all APIs.
79
+ //
80
+ // Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
81
+ string selector = 1;
82
+
83
+ // If true, the selected method allows unregistered calls, e.g. calls
84
+ // that don't identify any user or application.
85
+ bool allow_unregistered_calls = 2;
86
+
87
+ // If true, the selected method should skip service control and the control
88
+ // plane features, such as quota and billing, will not be available.
89
+ // This flag is used by Google Cloud Endpoints to bypass checks for internal
90
+ // methods, such as service health check methods.
91
+ bool skip_service_control = 3;
92
+ }
@@ -0,0 +1,150 @@
1
+ // Copyright 2021 Google LLC.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // This file contains custom annotations that are used by GAPIC generators to
16
+ // handle Long Running Operation methods (LRO) that are NOT compliant with
17
+ // https://google.aip.dev/151. These annotations are public for technical
18
+ // reasons only. Please DO NOT USE them in your protos.
19
+ syntax = "proto3";
20
+
21
+ package google.cloud;
22
+
23
+ import "google/protobuf/descriptor.proto";
24
+
25
+ option go_package = "google.golang.org/genproto/googleapis/cloud/extendedops;extendedops";
26
+ option java_multiple_files = true;
27
+ option java_outer_classname = "ExtendedOperationsProto";
28
+ option java_package = "com.google.cloud";
29
+ option objc_class_prefix = "GAPI";
30
+
31
+ // FieldOptions to match corresponding fields in the initial request,
32
+ // polling request and operation response messages.
33
+ //
34
+ // Example:
35
+ //
36
+ // In an API-specific operation message:
37
+ //
38
+ // message MyOperation {
39
+ // string http_error_message = 1 [(operation_field) = ERROR_MESSAGE];
40
+ // int32 http_error_status_code = 2 [(operation_field) = ERROR_CODE];
41
+ // string id = 3 [(operation_field) = NAME];
42
+ // Status status = 4 [(operation_field) = STATUS];
43
+ // }
44
+ //
45
+ // In a polling request message (the one which is used to poll for an LRO
46
+ // status):
47
+ //
48
+ // message MyPollingRequest {
49
+ // string operation = 1 [(operation_response_field) = "id"];
50
+ // string project = 2;
51
+ // string region = 3;
52
+ // }
53
+ //
54
+ // In an initial request message (the one which starts an LRO):
55
+ //
56
+ // message MyInitialRequest {
57
+ // string my_project = 2 [(operation_request_field) = "project"];
58
+ // string my_region = 3 [(operation_request_field) = "region"];
59
+ // }
60
+ //
61
+ extend google.protobuf.FieldOptions {
62
+ // A field annotation that maps fields in an API-specific Operation object to
63
+ // their standard counterparts in google.longrunning.Operation. See
64
+ // OperationResponseMapping enum definition.
65
+ OperationResponseMapping operation_field = 1149;
66
+
67
+ // A field annotation that maps fields in the initial request message
68
+ // (the one which started the LRO) to their counterparts in the polling
69
+ // request message. For non-standard LRO, the polling response may be missing
70
+ // some of the information needed to make a subsequent polling request. The
71
+ // missing information (for example, project or region ID) is contained in the
72
+ // fields of the initial request message that this annotation must be applied
73
+ // to. The string value of the annotation corresponds to the name of the
74
+ // counterpart field in the polling request message that the annotated field's
75
+ // value will be copied to.
76
+ string operation_request_field = 1150;
77
+
78
+ // A field annotation that maps fields in the polling request message to their
79
+ // counterparts in the initial and/or polling response message. The initial
80
+ // and the polling methods return an API-specific Operation object. Some of
81
+ // the fields from that response object must be reused in the subsequent
82
+ // request (like operation name/ID) to fully identify the polled operation.
83
+ // This annotation must be applied to the fields in the polling request
84
+ // message, the string value of the annotation must correspond to the name of
85
+ // the counterpart field in the Operation response object whose value will be
86
+ // copied to the annotated field.
87
+ string operation_response_field = 1151;
88
+ }
89
+
90
+ // MethodOptions to identify the actual service and method used for operation
91
+ // status polling.
92
+ //
93
+ // Example:
94
+ //
95
+ // In a method, which starts an LRO:
96
+ //
97
+ // service MyService {
98
+ // rpc Foo(MyInitialRequest) returns (MyOperation) {
99
+ // option (operation_service) = "MyPollingService";
100
+ // }
101
+ // }
102
+ //
103
+ // In a polling method:
104
+ //
105
+ // service MyPollingService {
106
+ // rpc Get(MyPollingRequest) returns (MyOperation) {
107
+ // option (operation_polling_method) = true;
108
+ // }
109
+ // }
110
+ extend google.protobuf.MethodOptions {
111
+ // A method annotation that maps an LRO method (the one which starts an LRO)
112
+ // to the service, which will be used to poll for the operation status. The
113
+ // annotation must be applied to the method which starts an LRO, the string
114
+ // value of the annotation must correspond to the name of the service used to
115
+ // poll for the operation status.
116
+ string operation_service = 1249;
117
+
118
+ // A method annotation that marks methods that can be used for polling
119
+ // operation status (e.g. the MyPollingService.Get(MyPollingRequest) method).
120
+ bool operation_polling_method = 1250;
121
+ }
122
+
123
+ // An enum to be used to mark the essential (for polling) fields in an
124
+ // API-specific Operation object. A custom Operation object may contain many
125
+ // different fields, but only few of them are essential to conduct a successful
126
+ // polling process.
127
+ enum OperationResponseMapping {
128
+ // Do not use.
129
+ UNDEFINED = 0;
130
+
131
+ // A field in an API-specific (custom) Operation object which carries the same
132
+ // meaning as google.longrunning.Operation.name.
133
+ NAME = 1;
134
+
135
+ // A field in an API-specific (custom) Operation object which carries the same
136
+ // meaning as google.longrunning.Operation.done. If the annotated field is of
137
+ // an enum type, `annotated_field_name == EnumType.DONE` semantics should be
138
+ // equivalent to `Operation.done == true`. If the annotated field is of type
139
+ // boolean, then it should follow the same semantics as Operation.done.
140
+ // Otherwise, a non-empty value should be treated as `Operation.done == true`.
141
+ STATUS = 2;
142
+
143
+ // A field in an API-specific (custom) Operation object which carries the same
144
+ // meaning as google.longrunning.Operation.error.code.
145
+ ERROR_CODE = 3;
146
+
147
+ // A field in an API-specific (custom) Operation object which carries the same
148
+ // meaning as google.longrunning.Operation.error.message.
149
+ ERROR_MESSAGE = 4;
150
+ }
@@ -0,0 +1,14 @@
1
+ # Introduction
2
+
3
+ # Key Concepts
4
+
5
+ ## Service Account
6
+
7
+ A Service Account is an account used to identify services (non-humans) to Google.
8
+ A Service Account has a list of Service Account Keys, which can be used to authenticate to Google.
9
+
10
+ ## Service Account Keys
11
+
12
+ A Service Account Key is a public/private keypair generated by Google. Google retains the public
13
+ key, while the customer is given the private key. The private key can be used to [sign JWTs and
14
+ authenticate Service Accounts to Google](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#authorizingrequests).