google-api-client 0.30.10 → 0.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -9
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -24
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +20 -6
- data/generated/google/apis/compute_alpha/representations.rb +1 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +112 -6
- data/generated/google/apis/compute_beta/representations.rb +58 -0
- data/generated/google/apis/compute_beta/service.rb +118 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1095 -7
- data/generated/google/apis/compute_v1/representations.rb +483 -0
- data/generated/google/apis/compute_v1/service.rb +2307 -468
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +108 -3
- data/generated/google/apis/container_v1beta1/representations.rb +35 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
- data/generated/google/apis/dialogflow_v2/service.rb +78 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +330 -4
- data/generated/google/apis/dns_v1/representations.rb +149 -0
- data/generated/google/apis/dns_v1/service.rb +246 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
- data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
- data/generated/google/apis/dns_v2beta1/service.rb +246 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -1
- data/generated/google/apis/iam_v1/service.rb +5 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +11 -4
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +30 -0
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +30 -35
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +60 -59
- data/generated/google/apis/monitoring_v3/service.rb +18 -18
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +40 -40
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
- data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-dns
|
26
26
|
module DnsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190903'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -369,6 +369,13 @@ module Google
|
|
369
369
|
# @return [Google::Apis::DnsV1::ManagedZoneDnsSecConfig]
|
370
370
|
attr_accessor :dnssec_config
|
371
371
|
|
372
|
+
# The presence for this field indicates that outbound forwarding is enabled for
|
373
|
+
# this zone. The value of this field contains the set of destinations to forward
|
374
|
+
# to.
|
375
|
+
# Corresponds to the JSON property `forwardingConfig`
|
376
|
+
# @return [Google::Apis::DnsV1::ManagedZoneForwardingConfig]
|
377
|
+
attr_accessor :forwarding_config
|
378
|
+
|
372
379
|
# Unique identifier for the resource; defined by the server (output only)
|
373
380
|
# Corresponds to the JSON property `id`
|
374
381
|
# @return [Fixnum]
|
@@ -427,6 +434,7 @@ module Google
|
|
427
434
|
@description = args[:description] if args.key?(:description)
|
428
435
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
429
436
|
@dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config)
|
437
|
+
@forwarding_config = args[:forwarding_config] if args.key?(:forwarding_config)
|
430
438
|
@id = args[:id] if args.key?(:id)
|
431
439
|
@kind = args[:kind] if args.key?(:kind)
|
432
440
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -442,8 +450,8 @@ module Google
|
|
442
450
|
class ManagedZoneDnsSecConfig
|
443
451
|
include Google::Apis::Core::Hashable
|
444
452
|
|
445
|
-
# Specifies parameters
|
446
|
-
#
|
453
|
+
# Specifies parameters for generating initial DnsKeys for this ManagedZone. Can
|
454
|
+
# only be changed while the state is OFF.
|
447
455
|
# Corresponds to the JSON property `defaultKeySpecs`
|
448
456
|
# @return [Array<Google::Apis::DnsV1::DnsKeySpec>]
|
449
457
|
attr_accessor :default_key_specs
|
@@ -454,8 +462,8 @@ module Google
|
|
454
462
|
# @return [String]
|
455
463
|
attr_accessor :kind
|
456
464
|
|
457
|
-
# Specifies the mechanism
|
458
|
-
#
|
465
|
+
# Specifies the mechanism for authenticated denial-of-existence responses. Can
|
466
|
+
# only be changed while the state is OFF.
|
459
467
|
# Corresponds to the JSON property `nonExistence`
|
460
468
|
# @return [String]
|
461
469
|
attr_accessor :non_existence
|
@@ -478,6 +486,59 @@ module Google
|
|
478
486
|
end
|
479
487
|
end
|
480
488
|
|
489
|
+
#
|
490
|
+
class ManagedZoneForwardingConfig
|
491
|
+
include Google::Apis::Core::Hashable
|
492
|
+
|
493
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
494
|
+
# managedZoneForwardingConfig".
|
495
|
+
# Corresponds to the JSON property `kind`
|
496
|
+
# @return [String]
|
497
|
+
attr_accessor :kind
|
498
|
+
|
499
|
+
# List of target name servers to forward to. Cloud DNS will select the best
|
500
|
+
# available name server if more than one target is given.
|
501
|
+
# Corresponds to the JSON property `targetNameServers`
|
502
|
+
# @return [Array<Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget>]
|
503
|
+
attr_accessor :target_name_servers
|
504
|
+
|
505
|
+
def initialize(**args)
|
506
|
+
update!(**args)
|
507
|
+
end
|
508
|
+
|
509
|
+
# Update properties of this object
|
510
|
+
def update!(**args)
|
511
|
+
@kind = args[:kind] if args.key?(:kind)
|
512
|
+
@target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
#
|
517
|
+
class ManagedZoneForwardingConfigNameServerTarget
|
518
|
+
include Google::Apis::Core::Hashable
|
519
|
+
|
520
|
+
# IPv4 address of a target name server.
|
521
|
+
# Corresponds to the JSON property `ipv4Address`
|
522
|
+
# @return [String]
|
523
|
+
attr_accessor :ipv4_address
|
524
|
+
|
525
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
526
|
+
# managedZoneForwardingConfigNameServerTarget".
|
527
|
+
# Corresponds to the JSON property `kind`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :kind
|
530
|
+
|
531
|
+
def initialize(**args)
|
532
|
+
update!(**args)
|
533
|
+
end
|
534
|
+
|
535
|
+
# Update properties of this object
|
536
|
+
def update!(**args)
|
537
|
+
@ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
|
538
|
+
@kind = args[:kind] if args.key?(:kind)
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
481
542
|
#
|
482
543
|
class ManagedZoneOperationsListResponse
|
483
544
|
include Google::Apis::Core::Hashable
|
@@ -749,6 +810,247 @@ module Google
|
|
749
810
|
end
|
750
811
|
end
|
751
812
|
|
813
|
+
#
|
814
|
+
class PoliciesListResponse
|
815
|
+
include Google::Apis::Core::Hashable
|
816
|
+
|
817
|
+
# Elements common to every response.
|
818
|
+
# Corresponds to the JSON property `header`
|
819
|
+
# @return [Google::Apis::DnsV1::ResponseHeader]
|
820
|
+
attr_accessor :header
|
821
|
+
|
822
|
+
# Type of resource.
|
823
|
+
# Corresponds to the JSON property `kind`
|
824
|
+
# @return [String]
|
825
|
+
attr_accessor :kind
|
826
|
+
|
827
|
+
# The presence of this field indicates that there exist more results following
|
828
|
+
# your last page of results in pagination order. To fetch them, make another
|
829
|
+
# list request using this value as your page token.
|
830
|
+
# In this way you can retrieve the complete contents of even very large
|
831
|
+
# collections one page at a time. However, if the contents of the collection
|
832
|
+
# change between the first and last paginated list request, the set of all
|
833
|
+
# elements returned will be an inconsistent view of the collection. There is no
|
834
|
+
# way to retrieve a consistent snapshot of a collection larger than the maximum
|
835
|
+
# page size.
|
836
|
+
# Corresponds to the JSON property `nextPageToken`
|
837
|
+
# @return [String]
|
838
|
+
attr_accessor :next_page_token
|
839
|
+
|
840
|
+
# The policy resources.
|
841
|
+
# Corresponds to the JSON property `policies`
|
842
|
+
# @return [Array<Google::Apis::DnsV1::Policy>]
|
843
|
+
attr_accessor :policies
|
844
|
+
|
845
|
+
def initialize(**args)
|
846
|
+
update!(**args)
|
847
|
+
end
|
848
|
+
|
849
|
+
# Update properties of this object
|
850
|
+
def update!(**args)
|
851
|
+
@header = args[:header] if args.key?(:header)
|
852
|
+
@kind = args[:kind] if args.key?(:kind)
|
853
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
854
|
+
@policies = args[:policies] if args.key?(:policies)
|
855
|
+
end
|
856
|
+
end
|
857
|
+
|
858
|
+
#
|
859
|
+
class PoliciesPatchResponse
|
860
|
+
include Google::Apis::Core::Hashable
|
861
|
+
|
862
|
+
# Elements common to every response.
|
863
|
+
# Corresponds to the JSON property `header`
|
864
|
+
# @return [Google::Apis::DnsV1::ResponseHeader]
|
865
|
+
attr_accessor :header
|
866
|
+
|
867
|
+
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
868
|
+
# Cloud resources.
|
869
|
+
# Corresponds to the JSON property `policy`
|
870
|
+
# @return [Google::Apis::DnsV1::Policy]
|
871
|
+
attr_accessor :policy
|
872
|
+
|
873
|
+
def initialize(**args)
|
874
|
+
update!(**args)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Update properties of this object
|
878
|
+
def update!(**args)
|
879
|
+
@header = args[:header] if args.key?(:header)
|
880
|
+
@policy = args[:policy] if args.key?(:policy)
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
884
|
+
#
|
885
|
+
class PoliciesUpdateResponse
|
886
|
+
include Google::Apis::Core::Hashable
|
887
|
+
|
888
|
+
# Elements common to every response.
|
889
|
+
# Corresponds to the JSON property `header`
|
890
|
+
# @return [Google::Apis::DnsV1::ResponseHeader]
|
891
|
+
attr_accessor :header
|
892
|
+
|
893
|
+
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
894
|
+
# Cloud resources.
|
895
|
+
# Corresponds to the JSON property `policy`
|
896
|
+
# @return [Google::Apis::DnsV1::Policy]
|
897
|
+
attr_accessor :policy
|
898
|
+
|
899
|
+
def initialize(**args)
|
900
|
+
update!(**args)
|
901
|
+
end
|
902
|
+
|
903
|
+
# Update properties of this object
|
904
|
+
def update!(**args)
|
905
|
+
@header = args[:header] if args.key?(:header)
|
906
|
+
@policy = args[:policy] if args.key?(:policy)
|
907
|
+
end
|
908
|
+
end
|
909
|
+
|
910
|
+
# A policy is a collection of DNS rules applied to one or more Virtual Private
|
911
|
+
# Cloud resources.
|
912
|
+
class Policy
|
913
|
+
include Google::Apis::Core::Hashable
|
914
|
+
|
915
|
+
# Sets an alternative name server for the associated networks. When specified,
|
916
|
+
# all DNS queries are forwarded to a name server that you choose. Names such as .
|
917
|
+
# internal are not available when an alternative name server is specified.
|
918
|
+
# Corresponds to the JSON property `alternativeNameServerConfig`
|
919
|
+
# @return [Google::Apis::DnsV1::PolicyAlternativeNameServerConfig]
|
920
|
+
attr_accessor :alternative_name_server_config
|
921
|
+
|
922
|
+
# A mutable string of at most 1024 characters associated with this resource for
|
923
|
+
# the user's convenience. Has no effect on the policy's function.
|
924
|
+
# Corresponds to the JSON property `description`
|
925
|
+
# @return [String]
|
926
|
+
attr_accessor :description
|
927
|
+
|
928
|
+
# Allows networks bound to this policy to receive DNS queries sent by VMs or
|
929
|
+
# applications over VPN connections. When enabled, a virtual IP address will be
|
930
|
+
# allocated from each of the sub-networks that are bound to this policy.
|
931
|
+
# Corresponds to the JSON property `enableInboundForwarding`
|
932
|
+
# @return [Boolean]
|
933
|
+
attr_accessor :enable_inbound_forwarding
|
934
|
+
alias_method :enable_inbound_forwarding?, :enable_inbound_forwarding
|
935
|
+
|
936
|
+
# Unique identifier for the resource; defined by the server (output only).
|
937
|
+
# Corresponds to the JSON property `id`
|
938
|
+
# @return [Fixnum]
|
939
|
+
attr_accessor :id
|
940
|
+
|
941
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#policy".
|
942
|
+
# Corresponds to the JSON property `kind`
|
943
|
+
# @return [String]
|
944
|
+
attr_accessor :kind
|
945
|
+
|
946
|
+
# User assigned name for this policy.
|
947
|
+
# Corresponds to the JSON property `name`
|
948
|
+
# @return [String]
|
949
|
+
attr_accessor :name
|
950
|
+
|
951
|
+
# List of network names specifying networks to which this policy is applied.
|
952
|
+
# Corresponds to the JSON property `networks`
|
953
|
+
# @return [Array<Google::Apis::DnsV1::PolicyNetwork>]
|
954
|
+
attr_accessor :networks
|
955
|
+
|
956
|
+
def initialize(**args)
|
957
|
+
update!(**args)
|
958
|
+
end
|
959
|
+
|
960
|
+
# Update properties of this object
|
961
|
+
def update!(**args)
|
962
|
+
@alternative_name_server_config = args[:alternative_name_server_config] if args.key?(:alternative_name_server_config)
|
963
|
+
@description = args[:description] if args.key?(:description)
|
964
|
+
@enable_inbound_forwarding = args[:enable_inbound_forwarding] if args.key?(:enable_inbound_forwarding)
|
965
|
+
@id = args[:id] if args.key?(:id)
|
966
|
+
@kind = args[:kind] if args.key?(:kind)
|
967
|
+
@name = args[:name] if args.key?(:name)
|
968
|
+
@networks = args[:networks] if args.key?(:networks)
|
969
|
+
end
|
970
|
+
end
|
971
|
+
|
972
|
+
#
|
973
|
+
class PolicyAlternativeNameServerConfig
|
974
|
+
include Google::Apis::Core::Hashable
|
975
|
+
|
976
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
977
|
+
# policyAlternativeNameServerConfig".
|
978
|
+
# Corresponds to the JSON property `kind`
|
979
|
+
# @return [String]
|
980
|
+
attr_accessor :kind
|
981
|
+
|
982
|
+
# Sets an alternative name server for the associated networks. When specified,
|
983
|
+
# all DNS queries are forwarded to a name server that you choose. Names such as .
|
984
|
+
# internal are not available when an alternative name server is specified.
|
985
|
+
# Corresponds to the JSON property `targetNameServers`
|
986
|
+
# @return [Array<Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer>]
|
987
|
+
attr_accessor :target_name_servers
|
988
|
+
|
989
|
+
def initialize(**args)
|
990
|
+
update!(**args)
|
991
|
+
end
|
992
|
+
|
993
|
+
# Update properties of this object
|
994
|
+
def update!(**args)
|
995
|
+
@kind = args[:kind] if args.key?(:kind)
|
996
|
+
@target_name_servers = args[:target_name_servers] if args.key?(:target_name_servers)
|
997
|
+
end
|
998
|
+
end
|
999
|
+
|
1000
|
+
#
|
1001
|
+
class PolicyAlternativeNameServerConfigTargetNameServer
|
1002
|
+
include Google::Apis::Core::Hashable
|
1003
|
+
|
1004
|
+
# IPv4 address to forward to.
|
1005
|
+
# Corresponds to the JSON property `ipv4Address`
|
1006
|
+
# @return [String]
|
1007
|
+
attr_accessor :ipv4_address
|
1008
|
+
|
1009
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
1010
|
+
# policyAlternativeNameServerConfigTargetNameServer".
|
1011
|
+
# Corresponds to the JSON property `kind`
|
1012
|
+
# @return [String]
|
1013
|
+
attr_accessor :kind
|
1014
|
+
|
1015
|
+
def initialize(**args)
|
1016
|
+
update!(**args)
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
# Update properties of this object
|
1020
|
+
def update!(**args)
|
1021
|
+
@ipv4_address = args[:ipv4_address] if args.key?(:ipv4_address)
|
1022
|
+
@kind = args[:kind] if args.key?(:kind)
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
#
|
1027
|
+
class PolicyNetwork
|
1028
|
+
include Google::Apis::Core::Hashable
|
1029
|
+
|
1030
|
+
# Identifies what kind of resource this is. Value: the fixed string "dns#
|
1031
|
+
# policyNetwork".
|
1032
|
+
# Corresponds to the JSON property `kind`
|
1033
|
+
# @return [String]
|
1034
|
+
attr_accessor :kind
|
1035
|
+
|
1036
|
+
# The fully qualified URL of the VPC network to bind to. This should be
|
1037
|
+
# formatted like https://www.googleapis.com/compute/v1/projects/`project`/global/
|
1038
|
+
# networks/`network`
|
1039
|
+
# Corresponds to the JSON property `networkUrl`
|
1040
|
+
# @return [String]
|
1041
|
+
attr_accessor :network_url
|
1042
|
+
|
1043
|
+
def initialize(**args)
|
1044
|
+
update!(**args)
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# Update properties of this object
|
1048
|
+
def update!(**args)
|
1049
|
+
@kind = args[:kind] if args.key?(:kind)
|
1050
|
+
@network_url = args[:network_url] if args.key?(:network_url)
|
1051
|
+
end
|
1052
|
+
end
|
1053
|
+
|
752
1054
|
# A project resource. The project is a top level container for resources
|
753
1055
|
# including Cloud DNS ManagedZones. Projects can be created only in the APIs
|
754
1056
|
# console.
|
@@ -820,6 +1122,16 @@ module Google
|
|
820
1122
|
# @return [Fixnum]
|
821
1123
|
attr_accessor :networks_per_managed_zone
|
822
1124
|
|
1125
|
+
# Maximum allowed number of networks per policy.
|
1126
|
+
# Corresponds to the JSON property `networksPerPolicy`
|
1127
|
+
# @return [Fixnum]
|
1128
|
+
attr_accessor :networks_per_policy
|
1129
|
+
|
1130
|
+
# Maximum allowed number of policies per project.
|
1131
|
+
# Corresponds to the JSON property `policies`
|
1132
|
+
# @return [Fixnum]
|
1133
|
+
attr_accessor :policies
|
1134
|
+
|
823
1135
|
# Maximum allowed number of ResourceRecords per ResourceRecordSet.
|
824
1136
|
# Corresponds to the JSON property `resourceRecordsPerRrset`
|
825
1137
|
# @return [Fixnum]
|
@@ -841,6 +1153,16 @@ module Google
|
|
841
1153
|
# @return [Fixnum]
|
842
1154
|
attr_accessor :rrsets_per_managed_zone
|
843
1155
|
|
1156
|
+
# Maximum allowed number of target name servers per managed forwarding zone.
|
1157
|
+
# Corresponds to the JSON property `targetNameServersPerManagedZone`
|
1158
|
+
# @return [Fixnum]
|
1159
|
+
attr_accessor :target_name_servers_per_managed_zone
|
1160
|
+
|
1161
|
+
# Maximum allowed number of alternative target name servers per policy.
|
1162
|
+
# Corresponds to the JSON property `targetNameServersPerPolicy`
|
1163
|
+
# @return [Fixnum]
|
1164
|
+
attr_accessor :target_name_servers_per_policy
|
1165
|
+
|
844
1166
|
# Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes.
|
845
1167
|
# Corresponds to the JSON property `totalRrdataSizePerChange`
|
846
1168
|
# @return [Fixnum]
|
@@ -862,10 +1184,14 @@ module Google
|
|
862
1184
|
@managed_zones = args[:managed_zones] if args.key?(:managed_zones)
|
863
1185
|
@managed_zones_per_network = args[:managed_zones_per_network] if args.key?(:managed_zones_per_network)
|
864
1186
|
@networks_per_managed_zone = args[:networks_per_managed_zone] if args.key?(:networks_per_managed_zone)
|
1187
|
+
@networks_per_policy = args[:networks_per_policy] if args.key?(:networks_per_policy)
|
1188
|
+
@policies = args[:policies] if args.key?(:policies)
|
865
1189
|
@resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset)
|
866
1190
|
@rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change)
|
867
1191
|
@rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change)
|
868
1192
|
@rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone)
|
1193
|
+
@target_name_servers_per_managed_zone = args[:target_name_servers_per_managed_zone] if args.key?(:target_name_servers_per_managed_zone)
|
1194
|
+
@target_name_servers_per_policy = args[:target_name_servers_per_policy] if args.key?(:target_name_servers_per_policy)
|
869
1195
|
@total_rrdata_size_per_change = args[:total_rrdata_size_per_change] if args.key?(:total_rrdata_size_per_change)
|
870
1196
|
@whitelisted_key_specs = args[:whitelisted_key_specs] if args.key?(:whitelisted_key_specs)
|
871
1197
|
end
|
@@ -70,6 +70,18 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class ManagedZoneForwardingConfig
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class ManagedZoneForwardingConfigNameServerTarget
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
73
85
|
class ManagedZoneOperationsListResponse
|
74
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
87
|
|
@@ -112,6 +124,48 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class PoliciesListResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class PoliciesPatchResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class PoliciesUpdateResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Policy
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class PolicyAlternativeNameServerConfig
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class PolicyAlternativeNameServerConfigTargetNameServer
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class PolicyNetwork
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
115
169
|
class Project
|
116
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
171
|
|
@@ -225,6 +279,8 @@ module Google
|
|
225
279
|
property :dns_name, as: 'dnsName'
|
226
280
|
property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV1::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV1::ManagedZoneDnsSecConfig::Representation
|
227
281
|
|
282
|
+
property :forwarding_config, as: 'forwardingConfig', class: Google::Apis::DnsV1::ManagedZoneForwardingConfig, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfig::Representation
|
283
|
+
|
228
284
|
property :id, :numeric_string => true, as: 'id'
|
229
285
|
property :kind, as: 'kind'
|
230
286
|
hash :labels, as: 'labels'
|
@@ -248,6 +304,23 @@ module Google
|
|
248
304
|
end
|
249
305
|
end
|
250
306
|
|
307
|
+
class ManagedZoneForwardingConfig
|
308
|
+
# @private
|
309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
310
|
+
property :kind, as: 'kind'
|
311
|
+
collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget, decorator: Google::Apis::DnsV1::ManagedZoneForwardingConfigNameServerTarget::Representation
|
312
|
+
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
class ManagedZoneForwardingConfigNameServerTarget
|
317
|
+
# @private
|
318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
319
|
+
property :ipv4_address, as: 'ipv4Address'
|
320
|
+
property :kind, as: 'kind'
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
251
324
|
class ManagedZoneOperationsListResponse
|
252
325
|
# @private
|
253
326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -325,6 +398,78 @@ module Google
|
|
325
398
|
end
|
326
399
|
end
|
327
400
|
|
401
|
+
class PoliciesListResponse
|
402
|
+
# @private
|
403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
404
|
+
property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
|
405
|
+
|
406
|
+
property :kind, as: 'kind'
|
407
|
+
property :next_page_token, as: 'nextPageToken'
|
408
|
+
collection :policies, as: 'policies', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
|
409
|
+
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
class PoliciesPatchResponse
|
414
|
+
# @private
|
415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
+
property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
|
417
|
+
|
418
|
+
property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
|
419
|
+
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
class PoliciesUpdateResponse
|
424
|
+
# @private
|
425
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
426
|
+
property :header, as: 'header', class: Google::Apis::DnsV1::ResponseHeader, decorator: Google::Apis::DnsV1::ResponseHeader::Representation
|
427
|
+
|
428
|
+
property :policy, as: 'policy', class: Google::Apis::DnsV1::Policy, decorator: Google::Apis::DnsV1::Policy::Representation
|
429
|
+
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
class Policy
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :alternative_name_server_config, as: 'alternativeNameServerConfig', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfig, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfig::Representation
|
437
|
+
|
438
|
+
property :description, as: 'description'
|
439
|
+
property :enable_inbound_forwarding, as: 'enableInboundForwarding'
|
440
|
+
property :id, :numeric_string => true, as: 'id'
|
441
|
+
property :kind, as: 'kind'
|
442
|
+
property :name, as: 'name'
|
443
|
+
collection :networks, as: 'networks', class: Google::Apis::DnsV1::PolicyNetwork, decorator: Google::Apis::DnsV1::PolicyNetwork::Representation
|
444
|
+
|
445
|
+
end
|
446
|
+
end
|
447
|
+
|
448
|
+
class PolicyAlternativeNameServerConfig
|
449
|
+
# @private
|
450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
451
|
+
property :kind, as: 'kind'
|
452
|
+
collection :target_name_servers, as: 'targetNameServers', class: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer, decorator: Google::Apis::DnsV1::PolicyAlternativeNameServerConfigTargetNameServer::Representation
|
453
|
+
|
454
|
+
end
|
455
|
+
end
|
456
|
+
|
457
|
+
class PolicyAlternativeNameServerConfigTargetNameServer
|
458
|
+
# @private
|
459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
460
|
+
property :ipv4_address, as: 'ipv4Address'
|
461
|
+
property :kind, as: 'kind'
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
class PolicyNetwork
|
466
|
+
# @private
|
467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
468
|
+
property :kind, as: 'kind'
|
469
|
+
property :network_url, as: 'networkUrl'
|
470
|
+
end
|
471
|
+
end
|
472
|
+
|
328
473
|
class Project
|
329
474
|
# @private
|
330
475
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -344,10 +489,14 @@ module Google
|
|
344
489
|
property :managed_zones, as: 'managedZones'
|
345
490
|
property :managed_zones_per_network, as: 'managedZonesPerNetwork'
|
346
491
|
property :networks_per_managed_zone, as: 'networksPerManagedZone'
|
492
|
+
property :networks_per_policy, as: 'networksPerPolicy'
|
493
|
+
property :policies, as: 'policies'
|
347
494
|
property :resource_records_per_rrset, as: 'resourceRecordsPerRrset'
|
348
495
|
property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange'
|
349
496
|
property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange'
|
350
497
|
property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone'
|
498
|
+
property :target_name_servers_per_managed_zone, as: 'targetNameServersPerManagedZone'
|
499
|
+
property :target_name_servers_per_policy, as: 'targetNameServersPerPolicy'
|
351
500
|
property :total_rrdata_size_per_change, as: 'totalRrdataSizePerChange'
|
352
501
|
collection :whitelisted_key_specs, as: 'whitelistedKeySpecs', class: Google::Apis::DnsV1::DnsKeySpec, decorator: Google::Apis::DnsV1::DnsKeySpec::Representation
|
353
502
|
|