google-cloud-access_approval-v1 0.1.0 → 0.2.1
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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +6 -6
- data/README.md +48 -1
- data/lib/google-cloud-access_approval-v1.rb +21 -1
- data/lib/google/cloud/access_approval/v1.rb +16 -0
- data/lib/google/cloud/access_approval/v1/access_approval.rb +61 -1
- data/lib/google/cloud/access_approval/v1/access_approval/client.rb +217 -199
- data/lib/google/cloud/access_approval/v1/access_approval/credentials.rb +1 -1
- data/lib/google/cloud/access_approval/v1/version.rb +1 -1
- data/proto_docs/google/api/resource.rb +12 -12
- data/proto_docs/google/cloud/accessapproval/v1/accessapproval.rb +69 -69
- data/proto_docs/google/protobuf/empty.rb +2 -2
- data/proto_docs/google/protobuf/field_mask.rb +22 -30
- data/proto_docs/google/protobuf/timestamp.rb +24 -20
- metadata +32 -5
- data/lib/google/cloud/common_resources_pb.rb +0 -15
@@ -19,17 +19,19 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Protobuf
|
22
|
-
# A Timestamp represents a point in time independent of any time zone
|
23
|
-
#
|
24
|
-
# nanosecond resolution
|
25
|
-
#
|
26
|
-
# backwards to year one.
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
22
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
23
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
24
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
25
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
26
|
+
# Gregorian calendar backwards to year one.
|
27
|
+
#
|
28
|
+
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
29
|
+
# second table is needed for interpretation, using a [24-hour linear
|
30
|
+
# smear](https://developers.google.com/time/smear).
|
31
|
+
#
|
32
|
+
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
33
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
34
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
33
35
|
#
|
34
36
|
# # Examples
|
35
37
|
#
|
@@ -90,27 +92,29 @@ module Google
|
|
90
92
|
# 01:30 UTC on January 15, 2017.
|
91
93
|
#
|
92
94
|
# In JavaScript, one can convert a Date object to this format using the
|
93
|
-
# standard
|
95
|
+
# standard
|
96
|
+
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
94
97
|
# method. In Python, a standard `datetime.datetime` object can be converted
|
95
|
-
# to this format using
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
98
|
+
# to this format using
|
99
|
+
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
100
|
+
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
101
|
+
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
102
|
+
# http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
99
103
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
100
104
|
# @!attribute [rw] seconds
|
101
|
-
# @return [Integer]
|
105
|
+
# @return [::Integer]
|
102
106
|
# Represents seconds of UTC time since Unix epoch
|
103
107
|
# 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
|
104
108
|
# 9999-12-31T23:59:59Z inclusive.
|
105
109
|
# @!attribute [rw] nanos
|
106
|
-
# @return [Integer]
|
110
|
+
# @return [::Integer]
|
107
111
|
# Non-negative fractions of a second at nanosecond resolution. Negative
|
108
112
|
# second values with fractions must still have non-negative nanos values
|
109
113
|
# that count forward in time. Must be from 0 to 999,999,999
|
110
114
|
# inclusive.
|
111
115
|
class Timestamp
|
112
|
-
include Google::Protobuf::MessageExts
|
113
|
-
extend Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
include ::Google::Protobuf::MessageExts
|
117
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
118
|
end
|
115
119
|
end
|
116
120
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-access_approval-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -58,14 +58,42 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '5.
|
61
|
+
version: '5.14'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '5.
|
68
|
+
version: '5.14'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest-focus
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-rg
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '5.2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '5.2'
|
69
97
|
- !ruby/object:Gem::Dependency
|
70
98
|
name: rake
|
71
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,7 +168,6 @@ files:
|
|
140
168
|
- lib/google/cloud/access_approval/v1/version.rb
|
141
169
|
- lib/google/cloud/accessapproval/v1/accessapproval_pb.rb
|
142
170
|
- lib/google/cloud/accessapproval/v1/accessapproval_services_pb.rb
|
143
|
-
- lib/google/cloud/common_resources_pb.rb
|
144
171
|
- proto_docs/README.md
|
145
172
|
- proto_docs/google/api/field_behavior.rb
|
146
173
|
- proto_docs/google/api/resource.rb
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/cloud/common_resources.proto
|
3
|
-
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
|
-
require 'google/api/resource_pb'
|
7
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
add_file("google/cloud/common_resources.proto", :syntax => :proto3) do
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
module Google
|
13
|
-
module Cloud
|
14
|
-
end
|
15
|
-
end
|