google-cloud-common 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 28a1122eba495212e0177e92bf4f1d6e5cd0a1423c1b1d9aca89e36d280e74e6
4
+ data.tar.gz: a9b546e598c6215bad146e6c84a285e9b13490554a85d4dc08b2f9f8bd01cbee
5
+ SHA512:
6
+ metadata.gz: be531344a760a4889fe7d333bc2edb1acba79f28e7320d6ca6f8579adca6654a2548a3aad5e6069cb6c7f3614417f3705ae131f85ef88b5354f074c6a655c9f1
7
+ data.tar.gz: 5a330c20b24c55ea82cd474d770aa7e6330a197367f82e158238d6890b0dc7a05724da71df3645dac516622c850eebbe6d29db8020449ece7276fac444a17275
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 1.0.0 (2021-10-19)
4
+
5
+ * Initial creation of google-cloud-common
data/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # Common Types
2
+
3
+ This gem contains common message types for Google Cloud APIs.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'google-cloud-common'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install google-cloud-common
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/common/operation_metadata.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/common/operation_metadata.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.common.OperationMetadata" do
11
+ optional :create_time, :message, 1, "google.protobuf.Timestamp"
12
+ optional :end_time, :message, 2, "google.protobuf.Timestamp"
13
+ optional :target, :string, 3
14
+ optional :verb, :string, 4
15
+ optional :status_detail, :string, 5
16
+ optional :cancel_requested, :bool, 6
17
+ optional :api_version, :string, 7
18
+ end
19
+ end
20
+ end
21
+
22
+ module Google
23
+ module Cloud
24
+ module Common
25
+ OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.common.OperationMetadata").msgclass
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 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
+ module Google
18
+ module Cloud
19
+ module Common
20
+ VERSION = "1.0.0".freeze
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/extended_operations.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/extended_operations.proto", :syntax => :proto3) do
8
+ add_enum "google.cloud.OperationResponseMapping" do
9
+ value :UNDEFINED, 0
10
+ value :NAME, 1
11
+ value :STATUS, 2
12
+ value :ERROR_CODE, 3
13
+ value :ERROR_MESSAGE, 4
14
+ end
15
+ end
16
+ end
17
+
18
+ module Google
19
+ module Cloud
20
+ OperationResponseMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.OperationResponseMapping").enummodule
21
+ end
22
+ end
metadata ADDED
@@ -0,0 +1,76 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: google-cloud-common
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Google LLC
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-10-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: google-protobuf
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.14'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.14'
27
+ - !ruby/object:Gem::Dependency
28
+ name: googleapis-common-protos-types
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.2'
41
+ description: Common protocol buffer types used by Google Cloud APIs
42
+ email:
43
+ - googleapis-packages@google.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - CHANGELOG.md
49
+ - README.md
50
+ - lib/google/cloud/common/operation_metadata_pb.rb
51
+ - lib/google/cloud/common/version.rb
52
+ - lib/google/cloud/extended_operations_pb.rb
53
+ homepage: https://github.com/googleapis/common-protos-ruby
54
+ licenses:
55
+ - Apache-2.0
56
+ metadata: {}
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '2.5'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubygems_version: 3.2.17
73
+ signing_key:
74
+ specification_version: 4
75
+ summary: Common protocol buffer types used in Google Cloud APIs
76
+ test_files: []