@@ -853,6 +853,182 @@ def get_project(project, client_operation_id: nil, fields: nil, quota_user: nil,
853
853
execute_or_queue_command ( command , &block )
854
854
end
855
855
856
+ # Create a new ResourceRecordSet.
857
+ # @param [String] project
858
+ # Identifies the project addressed by this request.
859
+ # @param [String] managed_zone
860
+ # Identifies the managed zone addressed by this request. Can be the managed zone
861
+ # name or ID.
862
+ # @param [Google::Apis::DnsV1::ResourceRecordSet] resource_record_set_object
863
+ # @param [String] client_operation_id
864
+ # For mutating operation requests only. An optional identifier specified by the
865
+ # client. Must be unique for operation resources in the Operations collection.
866
+ # @param [String] fields
867
+ # Selector specifying which fields to include in a partial response.
868
+ # @param [String] quota_user
869
+ # Available to use for quota purposes for server-side applications. Can be any
870
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
871
+ # @param [Google::Apis::RequestOptions] options
872
+ # Request-specific options
873
+ #
874
+ # @yield [result, err] Result & error if block supplied
875
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSet] parsed result object
876
+ # @yieldparam err [StandardError] error object if request failed
877
+ #
878
+ # @return [Google::Apis::DnsV1::ResourceRecordSet]
879
+ #
880
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
881
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
882
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
883
+ def create_project_managed_zone_rrset ( project , managed_zone , resource_record_set_object = nil , client_operation_id : nil , fields : nil , quota_user : nil , options : nil , &block )
884
+ command = make_simple_command ( :post , 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets' , options )
885
+ command . request_representation = Google ::Apis ::DnsV1 ::ResourceRecordSet ::Representation
886
+ command . request_object = resource_record_set_object
887
+ command . response_representation = Google ::Apis ::DnsV1 ::ResourceRecordSet ::Representation
888
+ command . response_class = Google ::Apis ::DnsV1 ::ResourceRecordSet
889
+ command . params [ 'project' ] = project unless project . nil?
890
+ command . params [ 'managedZone' ] = managed_zone unless managed_zone . nil?
891
+ command . query [ 'clientOperationId' ] = client_operation_id unless client_operation_id . nil?
892
+ command . query [ 'fields' ] = fields unless fields . nil?
893
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
894
+ execute_or_queue_command ( command , &block )
895
+ end
896
+
897
+ # Delete a previously created ResourceRecordSet.
898
+ # @param [String] project
899
+ # Identifies the project addressed by this request.
900
+ # @param [String] managed_zone
901
+ # Identifies the managed zone addressed by this request. Can be the managed zone
902
+ # name or ID.
903
+ # @param [String] name
904
+ # Fully qualified domain name.
905
+ # @param [String] type
906
+ # RRSet type.
907
+ # @param [String] client_operation_id
908
+ # For mutating operation requests only. An optional identifier specified by the
909
+ # client. Must be unique for operation resources in the Operations collection.
910
+ # @param [String] fields
911
+ # Selector specifying which fields to include in a partial response.
912
+ # @param [String] quota_user
913
+ # Available to use for quota purposes for server-side applications. Can be any
914
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
915
+ # @param [Google::Apis::RequestOptions] options
916
+ # Request-specific options
917
+ #
918
+ # @yield [result, err] Result & error if block supplied
919
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse] parsed result object
920
+ # @yieldparam err [StandardError] error object if request failed
921
+ #
922
+ # @return [Google::Apis::DnsV1::ResourceRecordSetsDeleteResponse]
923
+ #
924
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
925
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
926
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
927
+ def delete_project_managed_zone_rrset ( project , managed_zone , name , type , client_operation_id : nil , fields : nil , quota_user : nil , options : nil , &block )
928
+ command = make_simple_command ( :delete , 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}' , options )
929
+ command . response_representation = Google ::Apis ::DnsV1 ::ResourceRecordSetsDeleteResponse ::Representation
930
+ command . response_class = Google ::Apis ::DnsV1 ::ResourceRecordSetsDeleteResponse
931
+ command . params [ 'project' ] = project unless project . nil?
932
+ command . params [ 'managedZone' ] = managed_zone unless managed_zone . nil?
933
+ command . params [ 'name' ] = name unless name . nil?
934
+ command . params [ 'type' ] = type unless type . nil?
935
+ command . query [ 'clientOperationId' ] = client_operation_id unless client_operation_id . nil?
936
+ command . query [ 'fields' ] = fields unless fields . nil?
937
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
938
+ execute_or_queue_command ( command , &block )
939
+ end
940
+
941
+ # Fetch the representation of an existing ResourceRecordSet.
942
+ # @param [String] project
943
+ # Identifies the project addressed by this request.
944
+ # @param [String] managed_zone
945
+ # Identifies the managed zone addressed by this request. Can be the managed zone
946
+ # name or ID.
947
+ # @param [String] name
948
+ # Fully qualified domain name.
949
+ # @param [String] type
950
+ # RRSet type.
951
+ # @param [String] client_operation_id
952
+ # For mutating operation requests only. An optional identifier specified by the
953
+ # client. Must be unique for operation resources in the Operations collection.
954
+ # @param [String] fields
955
+ # Selector specifying which fields to include in a partial response.
956
+ # @param [String] quota_user
957
+ # Available to use for quota purposes for server-side applications. Can be any
958
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
959
+ # @param [Google::Apis::RequestOptions] options
960
+ # Request-specific options
961
+ #
962
+ # @yield [result, err] Result & error if block supplied
963
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSet] parsed result object
964
+ # @yieldparam err [StandardError] error object if request failed
965
+ #
966
+ # @return [Google::Apis::DnsV1::ResourceRecordSet]
967
+ #
968
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
969
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
970
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
971
+ def get_project_managed_zone_rrset ( project , managed_zone , name , type , client_operation_id : nil , fields : nil , quota_user : nil , options : nil , &block )
972
+ command = make_simple_command ( :get , 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}' , options )
973
+ command . response_representation = Google ::Apis ::DnsV1 ::ResourceRecordSet ::Representation
974
+ command . response_class = Google ::Apis ::DnsV1 ::ResourceRecordSet
975
+ command . params [ 'project' ] = project unless project . nil?
976
+ command . params [ 'managedZone' ] = managed_zone unless managed_zone . nil?
977
+ command . params [ 'name' ] = name unless name . nil?
978
+ command . params [ 'type' ] = type unless type . nil?
979
+ command . query [ 'clientOperationId' ] = client_operation_id unless client_operation_id . nil?
980
+ command . query [ 'fields' ] = fields unless fields . nil?
981
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
982
+ execute_or_queue_command ( command , &block )
983
+ end
984
+
985
+ # Apply a partial update to an existing ResourceRecordSet.
986
+ # @param [String] project
987
+ # Identifies the project addressed by this request.
988
+ # @param [String] managed_zone
989
+ # Identifies the managed zone addressed by this request. Can be the managed zone
990
+ # name or ID.
991
+ # @param [String] name
992
+ # Fully qualified domain name.
993
+ # @param [String] type
994
+ # RRSet type.
995
+ # @param [Google::Apis::DnsV1::ResourceRecordSet] resource_record_set_object
996
+ # @param [String] client_operation_id
997
+ # For mutating operation requests only. An optional identifier specified by the
998
+ # client. Must be unique for operation resources in the Operations collection.
999
+ # @param [String] fields
1000
+ # Selector specifying which fields to include in a partial response.
1001
+ # @param [String] quota_user
1002
+ # Available to use for quota purposes for server-side applications. Can be any
1003
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1004
+ # @param [Google::Apis::RequestOptions] options
1005
+ # Request-specific options
1006
+ #
1007
+ # @yield [result, err] Result & error if block supplied
1008
+ # @yieldparam result [Google::Apis::DnsV1::ResourceRecordSet] parsed result object
1009
+ # @yieldparam err [StandardError] error object if request failed
1010
+ #
1011
+ # @return [Google::Apis::DnsV1::ResourceRecordSet]
1012
+ #
1013
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1014
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1015
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1016
+ def patch_project_managed_zone_rrset ( project , managed_zone , name , type , resource_record_set_object = nil , client_operation_id : nil , fields : nil , quota_user : nil , options : nil , &block )
1017
+ command = make_simple_command ( :patch , 'dns/v1/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}' , options )
1018
+ command . request_representation = Google ::Apis ::DnsV1 ::ResourceRecordSet ::Representation
1019
+ command . request_object = resource_record_set_object
1020
+ command . response_representation = Google ::Apis ::DnsV1 ::ResourceRecordSet ::Representation
1021
+ command . response_class = Google ::Apis ::DnsV1 ::ResourceRecordSet
1022
+ command . params [ 'project' ] = project unless project . nil?
1023
+ command . params [ 'managedZone' ] = managed_zone unless managed_zone . nil?
1024
+ command . params [ 'name' ] = name unless name . nil?
1025
+ command . params [ 'type' ] = type unless type . nil?
1026
+ command . query [ 'clientOperationId' ] = client_operation_id unless client_operation_id . nil?
1027
+ command . query [ 'fields' ] = fields unless fields . nil?
1028
+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
1029
+ execute_or_queue_command ( command , &block )
1030
+ end
1031
+
856
1032
# Enumerates ResourceRecordSets that you have created but not yet deleted.
857
1033
# @param [String] project
858
1034
# Identifies the project addressed by this request.
0 commit comments