google-cloud-artifact_registry-v1beta2 0.8.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,10 +35,12 @@ module Google
35
35
  # only if the expression evaluates to `true`. A condition can add constraints
36
36
  # based on attributes of the request, the resource, or both. To learn which
37
37
  # resources support conditions in their IAM policies, see the
38
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
38
+ # [IAM
39
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
39
40
  #
40
41
  # **JSON example:**
41
42
  #
43
+ # ```
42
44
  # {
43
45
  # "bindings": [
44
46
  # {
@@ -58,16 +60,19 @@ module Google
58
60
  # "condition": {
59
61
  # "title": "expirable access",
60
62
  # "description": "Does not grant access after Sep 2020",
61
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')",
63
+ # "expression": "request.time <
64
+ # timestamp('2020-10-01T00:00:00.000Z')",
62
65
  # }
63
66
  # }
64
67
  # ],
65
68
  # "etag": "BwWWja0YfJA=",
66
69
  # "version": 3
67
70
  # }
71
+ # ```
68
72
  #
69
73
  # **YAML example:**
70
74
  #
75
+ # ```
71
76
  # bindings:
72
77
  # - members:
73
78
  # - user:mike@example.com
@@ -84,6 +89,7 @@ module Google
84
89
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
85
90
  # etag: BwWWja0YfJA=
86
91
  # version: 3
92
+ # ```
87
93
  #
88
94
  # For a description of IAM and its features, see the
89
95
  # [IAM documentation](https://cloud.google.com/iam/docs/).
@@ -112,7 +118,8 @@ module Google
112
118
  # specify any valid version or leave the field unset.
113
119
  #
114
120
  # To learn which resources support conditions in their IAM policies, see the
115
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
121
+ # [IAM
122
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
116
123
  # @!attribute [rw] bindings
117
124
  # @return [::Array<::Google::Iam::V1::Binding>]
118
125
  # Associates a list of `members`, or principals, with a `role`. Optionally,
@@ -154,7 +161,7 @@ module Google
154
161
  # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
155
162
  # @!attribute [rw] members
156
163
  # @return [::Array<::String>]
157
- # Specifies the principals requesting access for a Cloud Platform resource.
164
+ # Specifies the principals requesting access for a Google Cloud resource.
158
165
  # `members` can have the following values:
159
166
  #
160
167
  # * `allUsers`: A special identifier that represents anyone who is
@@ -264,8 +271,8 @@ module Google
264
271
  # }
265
272
  #
266
273
  # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
267
- # logging. It also exempts jose@example.com from DATA_READ logging, and
268
- # aliya@example.com from DATA_WRITE logging.
274
+ # logging. It also exempts `jose@example.com` from DATA_READ logging, and
275
+ # `aliya@example.com` from DATA_WRITE logging.
269
276
  # @!attribute [rw] service
270
277
  # @return [::String]
271
278
  # Specifies a service that will be enabled for audit logging.
@@ -305,7 +312,8 @@ module Google
305
312
  # @return [::Array<::String>]
306
313
  # Specifies the identities that do not cause logging for this type of
307
314
  # permission.
308
- # Follows the same format of {::Google::Iam::V1::Binding#members Binding.members}.
315
+ # Follows the same format of
316
+ # {::Google::Iam::V1::Binding#members Binding.members}.
309
317
  class AuditLogConfig
310
318
  include ::Google::Protobuf::MessageExts
311
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -352,7 +360,7 @@ module Google
352
360
  # Required
353
361
  # @!attribute [rw] member
354
362
  # @return [::String]
355
- # A single identity requesting access for a Cloud Platform resource.
363
+ # A single identity requesting access for a Google Cloud resource.
356
364
  # Follows the same format of Binding.members.
357
365
  # Required
358
366
  # @!attribute [rw] condition
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-artifact_registry-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-08-04 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.18.0
19
+ version: 0.19.1
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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a