diff --git a/api_names_out.yaml b/api_names_out.yaml index bee4b57f6..69c100ec1 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -96667,6 +96667,7 @@ "/dns:v1/ManagedZone/peeringConfig": peering_config "/dns:v1/ManagedZone/privateVisibilityConfig": private_visibility_config "/dns:v1/ManagedZone/reverseLookupConfig": reverse_lookup_config +"/dns:v1/ManagedZone/serviceDirectoryConfig": service_directory_config "/dns:v1/ManagedZone/visibility": visibility "/dns:v1/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config "/dns:v1/ManagedZoneDnsSecConfig/defaultKeySpecs": default_key_specs @@ -96704,6 +96705,13 @@ "/dns:v1/ManagedZonePrivateVisibilityConfigNetwork/networkUrl": network_url "/dns:v1/ManagedZoneReverseLookupConfig": managed_zone_reverse_lookup_config "/dns:v1/ManagedZoneReverseLookupConfig/kind": kind +"/dns:v1/ManagedZoneServiceDirectoryConfig": managed_zone_service_directory_config +"/dns:v1/ManagedZoneServiceDirectoryConfig/kind": kind +"/dns:v1/ManagedZoneServiceDirectoryConfig/namespace": namespace +"/dns:v1/ManagedZoneServiceDirectoryConfigNamespace": managed_zone_service_directory_config_namespace +"/dns:v1/ManagedZoneServiceDirectoryConfigNamespace/deletionTime": deletion_time +"/dns:v1/ManagedZoneServiceDirectoryConfigNamespace/kind": kind +"/dns:v1/ManagedZoneServiceDirectoryConfigNamespace/namespaceUrl": namespace_url "/dns:v1/ManagedZonesListResponse": list_managed_zones_response "/dns:v1/ManagedZonesListResponse/header": header "/dns:v1/ManagedZonesListResponse/kind": kind diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index 86cb085a1..4bcbcd71d 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dns/docs module DnsV1 VERSION = 'V1' - REVISION = '20201116' + REVISION = '20201127' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index 624b54717..1cb804deb 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -430,6 +430,11 @@ module Google # @return [Google::Apis::DnsV1::ManagedZoneReverseLookupConfig] attr_accessor :reverse_lookup_config + # Contains information about Service Directory-backed zones. + # Corresponds to the JSON property `serviceDirectoryConfig` + # @return [Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig] + attr_accessor :service_directory_config + # The zone's visibility: public zones are exposed to the Internet, while private # zones are visible only to Virtual Private Cloud resources. # Corresponds to the JSON property `visibility` @@ -456,6 +461,7 @@ module Google @peering_config = args[:peering_config] if args.key?(:peering_config) @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config) @reverse_lookup_config = args[:reverse_lookup_config] if args.key?(:reverse_lookup_config) + @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config) @visibility = args[:visibility] if args.key?(:visibility) end end @@ -735,6 +741,65 @@ module Google end end + # Contains information about Service Directory-backed zones. + class ManagedZoneServiceDirectoryConfig + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Contains information about the namespace associated with the zone. + # Corresponds to the JSON property `namespace` + # @return [Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace] + attr_accessor :namespace + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @namespace = args[:namespace] if args.key?(:namespace) + end + end + + # + class ManagedZoneServiceDirectoryConfigNamespace + include Google::Apis::Core::Hashable + + # The time that the namespace backing this zone was deleted, empty string if it + # still exists. This is in RFC3339 text format. Output only. + # Corresponds to the JSON property `deletionTime` + # @return [String] + attr_accessor :deletion_time + + # + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The fully qualified URL of the namespace associated with the zone. This should + # be formatted like https://servicedirectory.googleapis.com/v1/projects/`project` + # /locations/`location`/namespaces/`namespace` + # Corresponds to the JSON property `namespaceUrl` + # @return [String] + attr_accessor :namespace_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deletion_time = args[:deletion_time] if args.key?(:deletion_time) + @kind = args[:kind] if args.key?(:kind) + @namespace_url = args[:namespace_url] if args.key?(:namespace_url) + end + end + # class ListManagedZonesResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/dns_v1/representations.rb b/generated/google/apis/dns_v1/representations.rb index 3548e6680..f46c9f0ee 100644 --- a/generated/google/apis/dns_v1/representations.rb +++ b/generated/google/apis/dns_v1/representations.rb @@ -118,6 +118,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ManagedZoneServiceDirectoryConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZoneServiceDirectoryConfigNamespace + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListManagedZonesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -341,6 +353,8 @@ module Google property :reverse_lookup_config, as: 'reverseLookupConfig', class: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig, decorator: Google::Apis::DnsV1::ManagedZoneReverseLookupConfig::Representation + property :service_directory_config, as: 'serviceDirectoryConfig', class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig, decorator: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig::Representation + property :visibility, as: 'visibility' end end @@ -428,6 +442,24 @@ module Google end end + class ManagedZoneServiceDirectoryConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :namespace, as: 'namespace', class: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace, decorator: Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfigNamespace::Representation + + end + end + + class ManagedZoneServiceDirectoryConfigNamespace + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deletion_time, as: 'deletionTime' + property :kind, as: 'kind' + property :namespace_url, as: 'namespaceUrl' + end + end + class ListManagedZonesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/dns_v1/synth.metadata b/generated/google/apis/dns_v1/synth.metadata index 91f4591fb..833ec1a27 100644 --- a/generated/google/apis/dns_v1/synth.metadata +++ b/generated/google/apis/dns_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "be6850161c57715f479f158662bb4c3e385e44cc" + "sha": "2a7f9b91d4d9a6d9ffaa2baa7d1a4a6bbd1b311f" } } ]