google-apis-dns_v1 0.52.0 → 0.53.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dns_v1/classes.rb +101 -0
- data/lib/google/apis/dns_v1/gem_version.rb +2 -2
- data/lib/google/apis/dns_v1/representations.rb +33 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cde05a9b9b351e098e40c55f65abbabab9e9f8d33d72af25d2f5da6a23e6e75
|
|
4
|
+
data.tar.gz: dd4b387c8be28f81a44e36d98adb82b184f15af47e394f119573aba63617ce56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9411d865afef7dd83801b2614776e92c712b6318a79c8c8464643616639c2783988d62c9da0efbd3d9f50f5549e7e6b52791078386d42b9d586ab1de550acf3
|
|
7
|
+
data.tar.gz: 20d52794cfc59795d0eb7336db3d2b900297c10399f4f28859d9816c1cc52bb441b7ccbe18c3e51249bc37f88c7a462817a39a5f5bcc65dda7959654f53873c6
|
data/CHANGELOG.md
CHANGED
|
@@ -789,6 +789,68 @@ module Google
|
|
|
789
789
|
end
|
|
790
790
|
end
|
|
791
791
|
|
|
792
|
+
# This resource represents a long-running operation that is the result of a
|
|
793
|
+
# network API call.
|
|
794
|
+
class GoogleLongrunningOperation
|
|
795
|
+
include Google::Apis::Core::Hashable
|
|
796
|
+
|
|
797
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
798
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
799
|
+
# Corresponds to the JSON property `done`
|
|
800
|
+
# @return [Boolean]
|
|
801
|
+
attr_accessor :done
|
|
802
|
+
alias_method :done?, :done
|
|
803
|
+
|
|
804
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
805
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
806
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
807
|
+
# data: error code, error message, and error details. You can find out more
|
|
808
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
809
|
+
# //cloud.google.com/apis/design/errors).
|
|
810
|
+
# Corresponds to the JSON property `error`
|
|
811
|
+
# @return [Google::Apis::DnsV1::Status]
|
|
812
|
+
attr_accessor :error
|
|
813
|
+
|
|
814
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
815
|
+
# progress information and common metadata such as create time. Some services
|
|
816
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
817
|
+
# operation should document the metadata type, if any.
|
|
818
|
+
# Corresponds to the JSON property `metadata`
|
|
819
|
+
# @return [Hash<String,Object>]
|
|
820
|
+
attr_accessor :metadata
|
|
821
|
+
|
|
822
|
+
# The server-assigned name, which is only unique within the same service that
|
|
823
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
824
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
825
|
+
# Corresponds to the JSON property `name`
|
|
826
|
+
# @return [String]
|
|
827
|
+
attr_accessor :name
|
|
828
|
+
|
|
829
|
+
# The normal, successful response of the operation. If the original method
|
|
830
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
|
831
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
|
832
|
+
# response should be the resource. For other methods, the response should have
|
|
833
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
|
834
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
|
835
|
+
# `TakeSnapshotResponse`.
|
|
836
|
+
# Corresponds to the JSON property `response`
|
|
837
|
+
# @return [Hash<String,Object>]
|
|
838
|
+
attr_accessor :response
|
|
839
|
+
|
|
840
|
+
def initialize(**args)
|
|
841
|
+
update!(**args)
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
# Update properties of this object
|
|
845
|
+
def update!(**args)
|
|
846
|
+
@done = args[:done] if args.key?(:done)
|
|
847
|
+
@error = args[:error] if args.key?(:error)
|
|
848
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
849
|
+
@name = args[:name] if args.key?(:name)
|
|
850
|
+
@response = args[:response] if args.key?(:response)
|
|
851
|
+
end
|
|
852
|
+
end
|
|
853
|
+
|
|
792
854
|
# A zone is a subtree of the DNS namespace under one administrative
|
|
793
855
|
# responsibility. A ManagedZone is a resource that represents a DNS zone hosted
|
|
794
856
|
# by the Cloud DNS service.
|
|
@@ -2804,6 +2866,45 @@ module Google
|
|
|
2804
2866
|
@response_policy_rule = args[:response_policy_rule] if args.key?(:response_policy_rule)
|
|
2805
2867
|
end
|
|
2806
2868
|
end
|
|
2869
|
+
|
|
2870
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
2871
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
2872
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
2873
|
+
# data: error code, error message, and error details. You can find out more
|
|
2874
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
2875
|
+
# //cloud.google.com/apis/design/errors).
|
|
2876
|
+
class Status
|
|
2877
|
+
include Google::Apis::Core::Hashable
|
|
2878
|
+
|
|
2879
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
|
2880
|
+
# Corresponds to the JSON property `code`
|
|
2881
|
+
# @return [Fixnum]
|
|
2882
|
+
attr_accessor :code
|
|
2883
|
+
|
|
2884
|
+
# A list of messages that carry the error details. There is a common set of
|
|
2885
|
+
# message types for APIs to use.
|
|
2886
|
+
# Corresponds to the JSON property `details`
|
|
2887
|
+
# @return [Array<Hash<String,Object>>]
|
|
2888
|
+
attr_accessor :details
|
|
2889
|
+
|
|
2890
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
2891
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
2892
|
+
# field, or localized by the client.
|
|
2893
|
+
# Corresponds to the JSON property `message`
|
|
2894
|
+
# @return [String]
|
|
2895
|
+
attr_accessor :message
|
|
2896
|
+
|
|
2897
|
+
def initialize(**args)
|
|
2898
|
+
update!(**args)
|
|
2899
|
+
end
|
|
2900
|
+
|
|
2901
|
+
# Update properties of this object
|
|
2902
|
+
def update!(**args)
|
|
2903
|
+
@code = args[:code] if args.key?(:code)
|
|
2904
|
+
@details = args[:details] if args.key?(:details)
|
|
2905
|
+
@message = args[:message] if args.key?(:message)
|
|
2906
|
+
end
|
|
2907
|
+
end
|
|
2807
2908
|
end
|
|
2808
2909
|
end
|
|
2809
2910
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DnsV1
|
|
18
18
|
# Version of the google-apis-dns_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.53.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260421"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -118,6 +118,12 @@ module Google
|
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
+
class GoogleLongrunningOperation
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
121
127
|
class ManagedZone
|
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
129
|
|
|
@@ -424,6 +430,12 @@ module Google
|
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
425
431
|
end
|
|
426
432
|
|
|
433
|
+
class Status
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
427
439
|
class Change
|
|
428
440
|
# @private
|
|
429
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -582,6 +594,18 @@ module Google
|
|
|
582
594
|
end
|
|
583
595
|
end
|
|
584
596
|
|
|
597
|
+
class GoogleLongrunningOperation
|
|
598
|
+
# @private
|
|
599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
600
|
+
property :done, as: 'done'
|
|
601
|
+
property :error, as: 'error', class: Google::Apis::DnsV1::Status, decorator: Google::Apis::DnsV1::Status::Representation
|
|
602
|
+
|
|
603
|
+
hash :metadata, as: 'metadata'
|
|
604
|
+
property :name, as: 'name'
|
|
605
|
+
hash :response, as: 'response'
|
|
606
|
+
end
|
|
607
|
+
end
|
|
608
|
+
|
|
585
609
|
class ManagedZone
|
|
586
610
|
# @private
|
|
587
611
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1131,6 +1155,15 @@ module Google
|
|
|
1131
1155
|
|
|
1132
1156
|
end
|
|
1133
1157
|
end
|
|
1158
|
+
|
|
1159
|
+
class Status
|
|
1160
|
+
# @private
|
|
1161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1162
|
+
property :code, as: 'code'
|
|
1163
|
+
collection :details, as: 'details'
|
|
1164
|
+
property :message, as: 'message'
|
|
1165
|
+
end
|
|
1166
|
+
end
|
|
1134
1167
|
end
|
|
1135
1168
|
end
|
|
1136
1169
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dns_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.53.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dns_v1/v0.53.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dns_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|