google-cloud-asset-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -101,7 +101,8 @@ module Google
101
101
  # @!attribute [rw] type_url
102
102
  # @return [String]
103
103
  # A URL/resource name that uniquely identifies the type of the serialized
104
- # protocol buffer message. The last segment of the URL's path must represent
104
+ # protocol buffer message. This string must contain at least
105
+ # one "/" character. The last segment of the URL's path must represent
105
106
  # the fully qualified name of the type (as in
106
107
  # `path/google.protobuf.Duration`). The name should be in a canonical form
107
108
  # (e.g., leading "." is not accepted).
@@ -87,57 +87,49 @@ module Google
87
87
  # describe the updated values, the API ignores the values of all
88
88
  # fields not covered by the mask.
89
89
  #
90
- # If a repeated field is specified for an update operation, the existing
91
- # repeated values in the target resource will be overwritten by the new values.
92
- # Note that a repeated field is only allowed in the last position of a `paths`
93
- # string.
90
+ # If a repeated field is specified for an update operation, new values will
91
+ # be appended to the existing repeated field in the target resource. Note that
92
+ # a repeated field is only allowed in the last position of a `paths` string.
94
93
  #
95
94
  # If a sub-message is specified in the last position of the field mask for an
96
- # update operation, then the existing sub-message in the target resource is
97
- # overwritten. Given the target message:
95
+ # update operation, then new value will be merged into the existing sub-message
96
+ # in the target resource.
97
+ #
98
+ # For example, given the target message:
98
99
  #
99
100
  # f {
100
101
  # b {
101
- # d : 1
102
- # x : 2
102
+ # d: 1
103
+ # x: 2
103
104
  # }
104
- # c : 1
105
+ # c: [1]
105
106
  # }
106
107
  #
107
108
  # And an update message:
108
109
  #
109
110
  # f {
110
111
  # b {
111
- # d : 10
112
+ # d: 10
112
113
  # }
114
+ # c: [2]
113
115
  # }
114
116
  #
115
117
  # then if the field mask is:
116
118
  #
117
- # paths: "f.b"
119
+ # paths: ["f.b", "f.c"]
118
120
  #
119
121
  # then the result will be:
120
122
  #
121
123
  # f {
122
124
  # b {
123
- # d : 10
125
+ # d: 10
126
+ # x: 2
124
127
  # }
125
- # c : 1
128
+ # c: [1, 2]
126
129
  # }
127
130
  #
128
- # However, if the update mask was:
129
- #
130
- # paths: "f.b.d"
131
- #
132
- # then the result would be:
133
- #
134
- # f {
135
- # b {
136
- # d : 10
137
- # x : 2
138
- # }
139
- # c : 1
140
- # }
131
+ # An implementation may provide options to override this default behavior for
132
+ # repeated and message fields.
141
133
  #
142
134
  # In order to reset a field's value to the default, the field must
143
135
  # be in the mask and set to the default value in the provided resource.
@@ -225,7 +217,7 @@ module Google
225
217
  #
226
218
  # The implementation of any API method which has a FieldMask type field in the
227
219
  # request should verify the included field paths, and return an
228
- # `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
220
+ # `INVALID_ARGUMENT` error if any path is unmappable.
229
221
  # @!attribute [rw] paths
230
222
  # @return [Array<String>]
231
223
  # The set of field mask paths.
@@ -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
- # or calendar, represented as seconds and fractions of seconds at
24
- # nanosecond resolution in UTC Epoch time. It is encoded using the
25
- # Proleptic Gregorian Calendar which extends the Gregorian calendar
26
- # backwards to year one. It is encoded assuming all minutes are 60
27
- # seconds long, i.e. leap seconds are "smeared" so that no leap second
28
- # table is needed for interpretation. Range is from
29
- # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
30
- # By restricting to that range, we ensure that we can convert to
31
- # and from RFC 3339 date strings.
32
- # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
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,12 +92,14 @@ 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 [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
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 [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
96
- # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
97
- # can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
98
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
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
105
  # @return [Integer]
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 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 an expression text. Example:
23
+ #
24
+ # title: "User account presence"
25
+ # description: "Determines whether the request has a user account"
26
+ # expression: "size(request.user) > 0"
27
+ # @!attribute [rw] expression
28
+ # @return [String]
29
+ # Textual representation of an expression in
30
+ # Common Expression Language syntax.
31
+ #
32
+ # The application context of the containing message determines which
33
+ # well-known feature set of CEL is supported.
34
+ # @!attribute [rw] title
35
+ # @return [String]
36
+ # An optional title for the expression, i.e. a short string describing
37
+ # its purpose. This can be used e.g. in UIs which allow to enter the
38
+ # expression.
39
+ # @!attribute [rw] description
40
+ # @return [String]
41
+ # An optional description of the expression. This is a longer text which
42
+ # describes the expression, e.g. when hovered over it in a UI.
43
+ # @!attribute [rw] location
44
+ # @return [String]
45
+ # An optional string indicating the location of the expression for error
46
+ # reporting, e.g. a file name and a position in the file.
47
+ class Expr
48
+ include Google::Protobuf::MessageExts
49
+ extend Google::Protobuf::MessageExts::ClassMethods
50
+ end
51
+ end
52
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-asset-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2020-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -161,6 +161,10 @@ files:
161
161
  - lib/google/cloud/asset/v1/version.rb
162
162
  - lib/google/cloud/common_resources_pb.rb
163
163
  - lib/google/cloud/orgpolicy/v1/orgpolicy_pb.rb
164
+ - lib/google/identity/accesscontextmanager/type/device_resources_pb.rb
165
+ - lib/google/identity/accesscontextmanager/v1/access_level_pb.rb
166
+ - lib/google/identity/accesscontextmanager/v1/access_policy_pb.rb
167
+ - lib/google/identity/accesscontextmanager/v1/service_perimeter_pb.rb
164
168
  - proto_docs/README.md
165
169
  - proto_docs/google/api/field_behavior.rb
166
170
  - proto_docs/google/api/resource.rb
@@ -168,6 +172,10 @@ files:
168
172
  - proto_docs/google/cloud/asset/v1/assets.rb
169
173
  - proto_docs/google/cloud/orgpolicy/v1/orgpolicy.rb
170
174
  - proto_docs/google/iam/v1/policy.rb
175
+ - proto_docs/google/identity/accesscontextmanager/type/device_resources.rb
176
+ - proto_docs/google/identity/accesscontextmanager/v1/access_level.rb
177
+ - proto_docs/google/identity/accesscontextmanager/v1/access_policy.rb
178
+ - proto_docs/google/identity/accesscontextmanager/v1/service_perimeter.rb
171
179
  - proto_docs/google/longrunning/operations.rb
172
180
  - proto_docs/google/protobuf/any.rb
173
181
  - proto_docs/google/protobuf/empty.rb
@@ -175,6 +183,7 @@ files:
175
183
  - proto_docs/google/protobuf/struct.rb
176
184
  - proto_docs/google/protobuf/timestamp.rb
177
185
  - proto_docs/google/rpc/status.rb
186
+ - proto_docs/google/type/expr.rb
178
187
  homepage: https://github.com/googleapis/google-cloud-ruby
179
188
  licenses:
180
189
  - Apache-2.0