google-apis-iam_v2 0.3.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f7074d1d602602973c3b7343736089bd372d7bd046b0a32e32f47cfcb005da8
4
- data.tar.gz: 3419ffc3feceea199443d52dc8a485a0938ce003f33b4102650d8dae538994af
3
+ metadata.gz: a18a4044aa7609947bb0733e818434ad0e43aeedfb53f41bd84d3305c5cd5cb0
4
+ data.tar.gz: 5a709b1996db617aa9247f5f595fd0c3f5f35289f9e30bbfa5070f9093c20946
5
5
  SHA512:
6
- metadata.gz: 23e364d46529b2736b4beccf1ee195f985da1532c899a4dfe1072dfb671ce6ee8ff4972f7a47734d6e92c1d9634a82e990482589ddaf3041cb127185d4ff006e
7
- data.tar.gz: '01845abe693ce9f372002a4179eadd4b35d96dacf99d5ceba9f9ec4839ea8bc0a241f3f13ee120c2d16875072271980beb5774cb8a13ba89480b5d61af7892ff'
6
+ metadata.gz: 931a403aeb0e25b19d54272fe0bcc16b887d40ce2955d5100cea503e3742ba22a76ff15b6b8be868cfc3d39ade3afc762d8e1a83c7f1211f28df05f20c2e959d
7
+ data.tar.gz: ec060eb053018c27bc81a4b34ace72a10d6445ac8eaa88ca346b93079d5f8a4ba6ef0ba2b64137208fe66c204a134ce7760bd0ca5428daef5c59908a78638b2b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-iam_v2
2
2
 
3
+ ### v0.5.0 (2023-09-24)
4
+
5
+ * Regenerated from discovery document revision 20230914
6
+
7
+ ### v0.4.0 (2023-08-13)
8
+
9
+ * Regenerated from discovery document revision 20230803
10
+
3
11
  ### v0.3.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230710
@@ -22,6 +22,65 @@ module Google
22
22
  module Apis
23
23
  module IamV2
24
24
 
25
+ # Represents the metadata of the long-running operation.
26
+ class GoogleCloudCommonOperationMetadata
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Output only. API version used to start the operation.
30
+ # Corresponds to the JSON property `apiVersion`
31
+ # @return [String]
32
+ attr_accessor :api_version
33
+
34
+ # Output only. Identifies whether the user has requested cancellation of the
35
+ # operation. Operations that have been cancelled successfully have Operation.
36
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
37
+ # CANCELLED`.
38
+ # Corresponds to the JSON property `cancelRequested`
39
+ # @return [Boolean]
40
+ attr_accessor :cancel_requested
41
+ alias_method :cancel_requested?, :cancel_requested
42
+
43
+ # Output only. The time the operation was created.
44
+ # Corresponds to the JSON property `createTime`
45
+ # @return [String]
46
+ attr_accessor :create_time
47
+
48
+ # Output only. The time the operation finished running.
49
+ # Corresponds to the JSON property `endTime`
50
+ # @return [String]
51
+ attr_accessor :end_time
52
+
53
+ # Output only. Human-readable status of the operation, if any.
54
+ # Corresponds to the JSON property `statusDetail`
55
+ # @return [String]
56
+ attr_accessor :status_detail
57
+
58
+ # Output only. Server-defined resource path for the target of the operation.
59
+ # Corresponds to the JSON property `target`
60
+ # @return [String]
61
+ attr_accessor :target
62
+
63
+ # Output only. Name of the verb executed by the operation.
64
+ # Corresponds to the JSON property `verb`
65
+ # @return [String]
66
+ attr_accessor :verb
67
+
68
+ def initialize(**args)
69
+ update!(**args)
70
+ end
71
+
72
+ # Update properties of this object
73
+ def update!(**args)
74
+ @api_version = args[:api_version] if args.key?(:api_version)
75
+ @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
76
+ @create_time = args[:create_time] if args.key?(:create_time)
77
+ @end_time = args[:end_time] if args.key?(:end_time)
78
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
79
+ @target = args[:target] if args.key?(:target)
80
+ @verb = args[:verb] if args.key?(:verb)
81
+ end
82
+ end
83
+
25
84
  # Audit log information specific to Cloud IAM admin APIs. This message is
26
85
  # serialized as an `Any` type in the `ServiceData` message of an `AuditLog`
27
86
  # message.
@@ -467,13 +526,13 @@ module Google
467
526
  # @return [String]
468
527
  attr_accessor :name
469
528
 
470
- # The normal response of the operation in case of success. If the original
471
- # method returns no data on success, such as `Delete`, the response is `google.
472
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
473
- # the response should be the resource. For other methods, the response should
474
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
475
- # example, if the original method name is `TakeSnapshot()`, the inferred
476
- # response type is `TakeSnapshotResponse`.
529
+ # The normal, successful response of the operation. If the original method
530
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
531
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
532
+ # response should be the resource. For other methods, the response should have
533
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
534
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
535
+ # `TakeSnapshotResponse`.
477
536
  # Corresponds to the JSON property `response`
478
537
  # @return [Hash<String,Object>]
479
538
  attr_accessor :response
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module IamV2
18
18
  # Version of the google-apis-iam_v2 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230710"
25
+ REVISION = "20230914"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module IamV2
24
24
 
25
+ class GoogleCloudCommonOperationMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class GoogleIamAdminV1AuditData
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -106,6 +112,19 @@ module Google
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
115
+ class GoogleCloudCommonOperationMetadata
116
+ # @private
117
+ class Representation < Google::Apis::Core::JsonRepresentation
118
+ property :api_version, as: 'apiVersion'
119
+ property :cancel_requested, as: 'cancelRequested'
120
+ property :create_time, as: 'createTime'
121
+ property :end_time, as: 'endTime'
122
+ property :status_detail, as: 'statusDetail'
123
+ property :target, as: 'target'
124
+ property :verb, as: 'verb'
125
+ end
126
+ end
127
+
109
128
  class GoogleIamAdminV1AuditData
110
129
  # @private
111
130
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-iam_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.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: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -59,7 +59,7 @@ licenses:
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v2/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v2/v0.3.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-iam_v2/v0.5.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-iam_v2
64
64
  post_install_message:
65
65
  rdoc_options: []
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.4.2
79
+ rubygems_version: 3.4.19
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Identity and Access Management (IAM) API V2